// +---------------------------------------------------------------------- namespace app\validate\admin; use think\Validate; class DepositValidate extends Validate { protected $failException = true; protected $rule = [ 'money|金额' => 'require', 'cycle|周期' => 'require', 'diamond|分组名称' => 'require', 'diamond_max|分组名称' => 'require', 'count|名额' => 'require', ]; }