Преглед на файлове

Weenier utc项目部署 0625

wesmiler преди 3 години
родител
ревизия
b71439b003
променени са 2 файла, в които са добавени 2 реда и са изтрити 1 реда
  1. 1 0
      app/Http/Validator/MemberValidator.php
  2. 1 1
      app/Services/EmailService.php

+ 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;