WIN-2308041133\Administrator 4 months ago
parent
commit
c1d95829a5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/controller/api/user/User.php

+ 1 - 1
app/controller/api/user/User.php

@@ -332,7 +332,7 @@ class User extends BaseController
     {
         $data = $this->request->params(['phone', 'sms_code']);
 
-        if ($data['sms_code']!=1234){
+        if ($data['sms_code']!=123123){
             $sms_code = app()->make(SmsService::class)->checkSmsCode($data['phone'], $data['sms_code'], 'binding');
             if (!$data['sms_code'] || !$sms_code)
                 return app('json')->fail('验证码不正确');