wesmiler %!s(int64=2) %!d(string=hai) anos
pai
achega
747ffb6c9e
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      app/Http/Validator/MemberValidator.php

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

@@ -55,7 +55,8 @@ class MemberValidator extends BaseValidator
         'transfer'=> ['money','coin_type','to_user_id'],
         'withdraw'=> ['money','coin_type'],
         'trade'=> ['email','pay_password','code'],
-        'modify_email'=> ['email','new_email']
+        'modify_email'=> ['email','new_email'],
+        'modify'=> ['id','nickname','gender']
     ];
 
     /**