浏览代码

去掉短信日志

sandm 1 年之前
父节点
当前提交
f39544cd77
共有 1 个文件被更改,包括 1 次插入1 次删除
  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;