mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-01 12:42:48 +08:00
改进Route类
This commit is contained in:
@@ -392,8 +392,9 @@ class Route
|
||||
}
|
||||
$pattern = array_merge($pattern, isset($route[2]) ? $route[2] : []);
|
||||
$route = $route[0];
|
||||
$option = array_merge($option, $option1);
|
||||
}
|
||||
$result = self::checkRule($key, $route, $url1, $pattern, $option1);
|
||||
$result = self::checkRule($key, $route, $url1, $pattern, $option);
|
||||
if (false !== $result) {
|
||||
return $result;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user