add:新增服务缓存,提高性能

This commit is contained in:
JaguarJack
2020-09-22 11:14:51 +08:00
parent 42e6cd36aa
commit 5979088144
4 changed files with 32 additions and 3 deletions

View File

@@ -40,6 +40,9 @@ $router->group(function () use ($router) {
// 模块管理
$router->get('modules', '\catchAdmin\system\controller\Module@index');
$router->put('modules/<module>', '\catchAdmin\system\controller\Module@disOrEnable');
$router->put('cache/modules', '\catchAdmin\system\controller\Module@cache');
$router->delete('clear/modules', '\catchAdmin\system\controller\Module@clear');
})->middleware('auth');