wesmiler 2 years ago
parent
commit
747ffb6c9e
1 changed files with 2 additions and 1 deletions
  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'],
         'transfer'=> ['money','coin_type','to_user_id'],
         'withdraw'=> ['money','coin_type'],
         'withdraw'=> ['money','coin_type'],
         'trade'=> ['email','pay_password','code'],
         'trade'=> ['email','pay_password','code'],
-        'modify_email'=> ['email','new_email']
+        'modify_email'=> ['email','new_email'],
+        'modify'=> ['id','nickname','gender']
     ];
     ];
 
 
     /**
     /**