|
@@ -108,7 +108,7 @@ class ChuanglanSms implements Smser
|
|
|
public function sendAuthSms(string $mobile, SmsTemplate $template): bool
|
|
|
{
|
|
|
$params['code']=rand(100000, 999999);
|
|
|
- error_log("{$mobile}-{$params['code']}",3,'/data/wwwroot/jucai/sms');
|
|
|
+ //error_log("{$mobile}-{$params['code']}",3,'/data/wwwroot/jucai/sms');
|
|
|
$ret = $this->sendSms($mobile, $template, $params);
|
|
|
Cache::put($template->alias.'_'.$mobile, $params['code'], 15);
|
|
|
return $ret;
|