|
|
@@ -7,6 +7,7 @@ class CoinValidator extends BaseValidator
|
|
|
'id' => 'required',
|
|
|
'change_type' => 'required',
|
|
|
'contact_type' => 'required',
|
|
|
+ 'coin_type' => 'required',
|
|
|
'google_code' => 'required',
|
|
|
'to_address' => 'required',
|
|
|
'trade_password' => 'required',
|
|
|
@@ -28,6 +29,7 @@ class CoinValidator extends BaseValidator
|
|
|
'id' => 'ID',
|
|
|
'change_type' => '交易类型',
|
|
|
'contact_type' => '合约类型',
|
|
|
+ 'coin_type' => '币种类型',
|
|
|
'google_code' => '谷歌验证码',
|
|
|
'trade_password' => '交易密码',
|
|
|
'to_address' => '提币地址',
|
|
|
@@ -38,7 +40,7 @@ class CoinValidator extends BaseValidator
|
|
|
public static $scenes = [
|
|
|
'info'=> ['id'],
|
|
|
'withdraw'=> ['change_type','contact_type','google_code','to_address','trade_password','num'],
|
|
|
- 'out'=> ['contact_type','trade_password','to_address','num'],
|
|
|
+ 'out'=> ['coin_type','trade_password','to_address','num'],
|
|
|
'confirm'=> ['id'],
|
|
|
];
|
|
|
|