Przeglądaj źródła

微信小程序提交版本测试

whitefang 1 rok temu
rodzic
commit
e9a439ab4c
1 zmienionych plików z 4 dodań i 0 usunięć
  1. 4 0
      app/api/validate/LoginAccountValidate.php

+ 4 - 0
app/api/validate/LoginAccountValidate.php

@@ -77,6 +77,10 @@ class LoginAccountValidate extends BaseValidate
 
         // 手机验证码登录
         if (LoginEnum::MOBILE_CAPTCHA == $scene) {
+            //微信小程序提交版本测试
+            if($data['account'] == '13545228441'){
+                return true;
+            }
             if (!isset($data['code'])) {
                 return '请输入手机验证码';
             }