初始版本
This commit is contained in:
25
server/app/coachapi/validate/WithdrawalApplyValidate.php
Executable file
25
server/app/coachapi/validate/WithdrawalApplyValidate.php
Executable file
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
namespace app\coachapi\validate;
|
||||
use app\common\validate\BaseValidate;
|
||||
|
||||
/**
|
||||
* 提现审核列验证器
|
||||
* Class WithdrawalApplyValidate
|
||||
* @package app\coachapi\validate
|
||||
*/
|
||||
class WithdrawalApplyValidate extends BaseValidate
|
||||
{
|
||||
protected $rule = [
|
||||
'money' => 'require',
|
||||
'apply_type' => 'require|in:1,2,3'
|
||||
];
|
||||
|
||||
protected $message = [
|
||||
'money.require' => '请输入金额',
|
||||
'apply_type.require' => '请选择提现方式',
|
||||
'apply_type.in' => '提现方式错误'
|
||||
];
|
||||
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user