mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-01 20:52:48 +08:00
修正路由分组一处bug
This commit is contained in:
@@ -218,6 +218,8 @@ class Route
|
||||
}
|
||||
} else {
|
||||
if ($group) {
|
||||
self::$rules[$type][$group]['option'] = $option;
|
||||
self::$rules[$type][$group]['pattern'] = $pattern;
|
||||
self::$rules[$type][$group]['routes'][$rule] = $route;
|
||||
} else {
|
||||
self::$rules[$type][$rule] = ['route' => $route, 'option' => $option, 'pattern' => $pattern];
|
||||
|
||||
Reference in New Issue
Block a user