mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-01 20:52:48 +08:00
继续改进Route类的分组功能
This commit is contained in:
@@ -210,7 +210,7 @@ class Route
|
||||
$result = ['route' => $val, 'option' => $option, 'pattern' => $pattern];
|
||||
}
|
||||
if ($group) {
|
||||
self::$rules[$type][$group]['routes'][$key] = $result['route'];
|
||||
self::$rules[$type][$group]['routes'][$key] = [$result['route'], $result['option'], $result['pattern']];
|
||||
} else {
|
||||
self::$rules[$type][$key] = $result;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user