moonsflyer 9 сар өмнө
parent
commit
7fa41bd6a1

+ 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');
     }