فهرست منبع

关闭验证码验证

moonsflyer 10 ماه پیش
والد
کامیت
7fa41bd6a1
1فایلهای تغییر یافته به همراه3 افزوده شده و 1 حذف شده
  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');
     }