Sfoglia il codice sorgente

关闭验证码验证

moonsflyer 9 mesi fa
parent
commit
7fa41bd6a1
1 ha cambiato i file con 3 aggiunte e 1 eliminazioni
  1. 3 1
      app/shopapi/validate/RegisterValidate.php

+ 3 - 1
app/shopapi/validate/RegisterValidate.php

@@ -69,7 +69,9 @@ class RegisterValidate extends BaseValidate
      */
     public function sceneRegister()
     {
-        return $this->only(['register_source', 'mobile', 'code', 'password', 'password_confirm'])
+//        return $this->only(['register_source', 'mobile', 'code', 'password', 'password_confirm'])
+//            ->append('mobile', 'checkMobile|checkConfig');
+        return $this->only(['register_source', 'mobile', 'password', 'password_confirm'])
             ->append('mobile', 'checkMobile|checkConfig');
     }