wesmiler 2 年之前
父節點
當前提交
6ea1a0fd85
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      app/Services/SmsService.php

+ 2 - 1
app/Services/SmsService.php

@@ -68,7 +68,8 @@ class SmsService extends BaseService
 
         // 发送逻辑
         $code = rand(1000,9999);
-        $content="【{$signName}】您的验证码是:{$code},请在10分钟内使用,请不要将验证码泄漏个他人。";//短信内容
+        $content="【{$signName}】您的验证码是:{$code}";//短信内容
+//        $content="【{$signName}】您的验证码是:{$code},请在10分钟内使用,请不要将验证码泄漏个他人。";//短信内容
 //        $content = iconv("UTF-8", "GBK", $content);
         $url="{$apiUrl}/sms?action=send&password={$password}&extno={$extno}&mobile={$mobile}&account={$account}&content={$content}";
         try {