'required', 'description' => 'required', ]; } public function messages() { return [ 'title.required' => '标题不能为空', 'description.required' => '描述不能为空', ]; } }