|
|
@@ -39,13 +39,13 @@ class MemberValidator extends BaseValidator
|
|
|
'email' => '邮箱地址',
|
|
|
'new_email' => '新邮箱地址',
|
|
|
'new_mobile' => '新手机号码',
|
|
|
+ 'password' => '登录密码',
|
|
|
'pay_password' => '交易密码',
|
|
|
'to_user_id' => '转账用户ID号',
|
|
|
'invite_code' => '邀请码',
|
|
|
'scene' => '验证码类型',
|
|
|
'coin_type' => '账户类型',
|
|
|
'code' => '验证码',
|
|
|
- 'password' => '密码',
|
|
|
];
|
|
|
|
|
|
// 当前模型所有验证场景
|
|
|
@@ -66,6 +66,8 @@ class MemberValidator extends BaseValidator
|
|
|
'trade'=> ['pay_password','code'],
|
|
|
'modify_email'=> ['email','new_email'],
|
|
|
'modify_mobile'=> ['mobile','new_mobile'],
|
|
|
+ 'modify_password'=> ['password'],
|
|
|
+ 'reset_password'=> ['password'],
|
|
|
'modify'=> ['nickname','gender'],
|
|
|
'wallet'=> ['email','trc_url','code']
|
|
|
];
|