['required', 'integer', Rule::in($this->channel_ids)], 'start_time' => 'date', 'end_time' => 'date|after_or_equal:start_time', 'begin_date' => 'date', 'end_date' => 'date|after_or_equal:begin_date', ]; } public function messages() { return array_merge(parent::messages(), [ 'channel_id.in' => '站点未授权!' ]); } }