mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-01 20:52:48 +08:00
修正路由分组的参数覆盖问题
This commit is contained in:
@@ -211,7 +211,7 @@ class Route
|
||||
public static function rule($rule, $route = '', $type = '*', $option = [], $pattern = [], $group = '')
|
||||
{
|
||||
$group = $group ?: self::$group;
|
||||
$option = $option ?: self::$option;
|
||||
$option = $option ? array_merge(self::$option, $option) : self::$option;
|
||||
|
||||
$type = strtoupper($type);
|
||||
if (strpos($type, '|')) {
|
||||
|
||||
Reference in New Issue
Block a user