Browse Source

去掉短信日志

sandm 1 year ago
parent
commit
f39544cd77
1 changed files with 1 additions and 1 deletions
  1. 1 1
      libs/sms/src/ChuanglanSms.php

+ 1 - 1
libs/sms/src/ChuanglanSms.php

@@ -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;