'require|isPositiveInteger', 'limit' => 'require|isPositiveInteger' ]; protected $message = [ 'page' => '分页参数必须是正整数', 'limit' => '分页参数必须是正整数' ]; }