dever 3 years ago
parent
commit
967906e1bd
1 changed files with 4 additions and 1 deletions
  1. 4 1
      config/base.php

+ 4 - 1
config/base.php

@@ -44,13 +44,15 @@ $config['base'] = array
     # 站点使用邮箱还是手机作为主账号
     'account' => 'mobile',//SMS_228142347
 
+    # 直接使用sms组件,这部分配置废弃
+    /*
     'mobileCode' => array
     (
         # debug模式
         'debug' => true,
         # 发送短信的接口
         'url' => 'https://feginesms.market.alicloudapi.com/codeNotice',
-        'url' => '',
+        'url' => 'https://dysmsapi.aliyuncs.com/?Action=SendSms',
         # 保存方式 cookie、session、db 三种可选 默认为session
         'save' => 'db',
         # 发送方法 get、post
@@ -83,6 +85,7 @@ $config['base'] = array
         # 验证码长度
         'length' => 6,
     ),
+    */
     # 注册成功后,调取的接口
     'regAction' => '',