Ver Fonte

添加注册验证码

moonsflyer há 9 meses atrás
pai
commit
1e716ff718
1 ficheiros alterados com 3 adições e 3 exclusões
  1. 3 3
      app/shopapi/validate/RegisterValidate.php

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

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