wesmiler 2 年之前
父節點
當前提交
747ffb6c9e
共有 1 個文件被更改,包括 2 次插入1 次删除
  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']
     ];
 
     /**