// +---------------------------------------------------------------------- namespace app\validate\admin; use think\File; use think\Validate; class StoreSeckillActiveValidate extends Validate { protected $failException = true; protected $rule = [ "name|活动名称" => 'require|max:64', "seckill_time_ids|活动场次" => 'require', "start_day|开始日期" => "require", "end_day|结束日期" => "require", ]; }