浏览代码

完善修改手机号

15954078560 2 年之前
父节点
当前提交
4e159072e2
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      application/api/controller/User.php

+ 1 - 1
application/api/controller/User.php

@@ -515,7 +515,7 @@ class User extends Api
         if ($mobile == $user->mobile) {
             $this->error('手机号没有改变');
         }
-        $result = Sms::check($user->mobile, $code, 'changemobile');
+        $result = Sms::check($user->mobile, $code, 'changeyuanmobile');
         if (!$result) {
             $this->error(__('Captcha is incorrect'));
         }