'require', 'document_content' => 'require' ]; protected $message = [ 'document_title.require' => '文章标题不能为空', 'document_content.require' => '文章内容不能为空' ]; protected $scene = [ 'edit' => ['document_title', 'document_content'], ]; }