Ver código fonte

Weenier utc项目部署 0625

wesmiler 3 anos atrás
pai
commit
b71439b003

+ 1 - 0
app/Http/Validator/MemberValidator.php

@@ -22,6 +22,7 @@ class MemberValidator extends BaseValidator
         'rule' => ':attribute格式不正确',
         'mobile' => ':attribute格式不正确',
         'email' => ':attribute格式不正确',
+        'username' => ':attribute格式不正确',
     ];
 
     // 当前模型所有验证字段

+ 1 - 1
app/Services/EmailService.php

@@ -140,7 +140,7 @@ class EmailService extends BaseService
             $this->error = 2010;
             return false;
         }
-        
+
         if($checkEmail != $email || $checkCode != $code){
             $this->error = 2006;
             return false;