소스 검색

添加注册验证码

moonsflyer 9 달 전
부모
커밋
1e716ff718
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  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()
     {
-//        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');
+//        return $this->only(['register_source', 'mobile', 'password', 'password_confirm'])
+//            ->append('mobile', 'checkMobile|checkConfig');
     }
 
     /**