mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-01 20:52:48 +08:00
修正路由的请求缓存设置
This commit is contained in:
@@ -1496,7 +1496,7 @@ class Route
|
||||
if (is_array($cache)) {
|
||||
list($key, $expire) = $cache;
|
||||
} else {
|
||||
$key = $pathinfo;
|
||||
$key = str_replace('|', '/', $pathinfo);
|
||||
$expire = $cache;
|
||||
}
|
||||
$request->cache($key, $expire);
|
||||
|
||||
Reference in New Issue
Block a user