songxingwei 3 年之前
父节点
当前提交
5a36034220
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      application/common/model/Sms.php

+ 2 - 1
application/common/model/Sms.php

@@ -92,13 +92,14 @@ class Sms Extends Model
                 ->options([
                     'query' => [
                         'PhoneNumbers' => $mobile,
-                        'SignName' => '享购',
+                        'SignName' => '郑欧云商',
                         'TemplateCode' => $templateCode,
                         'TemplateParam' => '{"code":' . $num . '}',
                     ],
                 ])
                 ->request();
             $info = $result->toArray();
+            print_r($info);die;
             if ($info['Code'] == 'OK') {
                 $ip = request()->ip();
                 Sms::create(['event' => $event, 'mobile' => $mobile, 'code' => $num, 'ip' => $ip]);