فهرست منبع

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;