'require|number', 'audit_status' => 'require|number' ]; protected $message = [ 'id.require' => 'ID不可为空', 'id.number' => 'ID必须为数字', 'audit_status.require' => '请选择审核状态', 'audit_status.number' => '审核状态选择异常', ]; protected $scene = [ 'id' => ['id'], 'audit' => ['id', 'audit'] ]; }