wesmiler il y a 2 ans
Parent
commit
747ffb6c9e
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  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']
     ];
 
     /**