mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-08 15:42:48 +08:00
修正Route类
This commit is contained in:
@@ -650,7 +650,7 @@ class Route
|
|||||||
if (is_array($route)) {
|
if (is_array($route)) {
|
||||||
$option1 = $route[1];
|
$option1 = $route[1];
|
||||||
// 检查参数有效性
|
// 检查参数有效性
|
||||||
if (!self::checkOption($option1, $url, $rquest)) {
|
if (!self::checkOption($option1, $url, $request)) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
$pattern = array_merge($pattern, isset($route[2]) ? $route[2] : []);
|
$pattern = array_merge($pattern, isset($route[2]) ? $route[2] : []);
|
||||||
|
|||||||
Reference in New Issue
Block a user