'require|number', 'status' => 'require|in:0,1,2', 'remark' => 'max:500', 'content' => 'require|max:1000', ]; protected $message = [ 'id' => '反馈参数错误', 'status' => '处理状态错误', 'remark' => '备注不能超过 500 个字', 'content' => '回复内容不能为空且不能超过 1000 个字', ]; protected $scene = [ 'status' => ['id', 'status', 'remark'], 'reply' => ['id', 'content'], ]; }