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