'require|length:1,50', 'users|分组成员' => 'require', ]; protected $message = [ 'title.length' => '名称必须50字以内', ]; protected $scene = [ ]; }