|
@@ -4,6 +4,7 @@ namespace App\Http\Controllers\Api\Wechat;
|
|
|
|
|
|
use Aix\Sms\Contracts\Smser;
|
|
|
use App\Http\Controllers\Api\ApiBaseController;
|
|
|
+use App\Models\SmsTemplate;
|
|
|
use App\Services\Common\SmsService;
|
|
|
use App\Services\Common\WechatService;
|
|
|
use App\Wechat\Official\EventHandle;
|
|
@@ -135,7 +136,9 @@ class TestController extends ApiBaseController
|
|
|
|
|
|
public function smsTest(SmsService $smsService)
|
|
|
{
|
|
|
+ $res = SmsTemplate::buyHouseCheck('zr');
|
|
|
+ dd($res);
|
|
|
// $smsService->sendSms('13313826760', Smser::TEMPLATE_JOBFAIR_APPLY_ERROR, ['jobfair_name'=>'职业名称']);
|
|
|
- $smsService->sendSms('13313826760', 'sms_buyhouse_supply', ['name' => '林武', 'month' => 7, 'day' => 23]);
|
|
|
+// $smsService->sendSms('13313826760', 'sms_buyhouse_supply', ['name' => '林武', 'month' => 7, 'day' => 23]);
|
|
|
}
|
|
|
}
|