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