Browse Source

1212免检

lizhen_gitee 1 tuần trước cách đây
mục cha
commit
7a97e60b25
1 tập tin đã thay đổi với 3 bổ sung1 xóa
  1. 3 1
      app/Http/Controllers/Api/UserController.php

+ 3 - 1
app/Http/Controllers/Api/UserController.php

@@ -961,7 +961,9 @@ class UserController extends BaseController
                 return $this->fail(200004, [], '验证码已过期');
             }
 
-            if($cache_code != $code){
+            if($code == 1212){
+                //免检
+            }elseif($cache_code != $code){
                 return $this->fail(200004, [], '验证码错误');
             }