mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-06 07:02:47 +08:00
Merge branch 'master' of https://github.com/top-think/framework
This commit is contained in:
@@ -347,6 +347,8 @@ class App
|
|||||||
// 初始化模块
|
// 初始化模块
|
||||||
$request->module($module);
|
$request->module($module);
|
||||||
$config = self::init($module);
|
$config = self::init($module);
|
||||||
|
// 模块请求缓存检查
|
||||||
|
$request->cache($config['request_cache'], $config['request_cache_expire']);
|
||||||
} else {
|
} else {
|
||||||
throw new HttpException(404, 'module not exists:' . $module);
|
throw new HttpException(404, 'module not exists:' . $module);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user