mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-07 15:12:48 +08:00
修正缓存
This commit is contained in:
@@ -51,7 +51,7 @@ class Url
|
|||||||
$match = self::checkRoute($url, $vars);
|
$match = self::checkRoute($url, $vars);
|
||||||
Cache::set(md5($url), $match);
|
Cache::set(md5($url), $match);
|
||||||
}
|
}
|
||||||
if (false === $match) {
|
if (is_null($match)) {
|
||||||
// 路由不存在 直接解析
|
// 路由不存在 直接解析
|
||||||
if (false !== strpos($url, '\\')) {
|
if (false !== strpos($url, '\\')) {
|
||||||
// 解析到类
|
// 解析到类
|
||||||
@@ -177,7 +177,7 @@ class Url
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return false;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
// 检测变量规则
|
// 检测变量规则
|
||||||
|
|||||||
Reference in New Issue
Block a user