|
@@ -14,6 +14,7 @@ class MemberValidator extends BaseValidator
|
|
|
'pay_password' => 'required',
|
|
|
'gender' => 'required',
|
|
|
'coin_type' => 'required',
|
|
|
+ 'to_user_id' => 'required',
|
|
|
];
|
|
|
|
|
|
// 当前模型所有错误提示信息
|
|
@@ -35,6 +36,7 @@ class MemberValidator extends BaseValidator
|
|
|
'mobile' => '手机号',
|
|
|
'email' => '邮箱地址',
|
|
|
'pay_password' => '交易密码',
|
|
|
+ 'to_user_id' => '转账用户ID号',
|
|
|
'invite_code' => '邀请码',
|
|
|
'scene' => '验证码类型',
|
|
|
'coin_type' => '账户类型',
|
|
@@ -50,6 +52,7 @@ class MemberValidator extends BaseValidator
|
|
|
'email_register'=> ['email','code'],
|
|
|
'email'=> ['email','scene'],
|
|
|
'recharge'=> ['usdt'],
|
|
|
+ 'transfer'=> ['money','coin_type','to_user_id'],
|
|
|
'withdraw'=> ['money','coin_type'],
|
|
|
'trade'=> ['email','pay_password','code'],
|
|
|
'modifyEmail'=> ['email','new_email']
|