mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
使用url()来构建url
This commit is contained in:
1 parent
0efac48bde
commit
86f67a0ec3
61 files changed
+262
-275
No files matched your search
@@ -78,9 +78,9 @@ class SystemSettingHandler extends SystemHandler {
|
||||
}
|
||||
|
||||
async function apply() {
|
||||
Route('/system', SystemDashboardHandler);
|
||||
Route('/system/module', SystemModuleHandler);
|
||||
Route('/system/setting', SystemSettingHandler);
|
||||
Route('system_dashboard', '/system', SystemDashboardHandler);
|
||||
Route('system_module', '/system/module', SystemModuleHandler);
|
||||
Route('system_setting', '/system/setting', SystemSettingHandler);
|
||||
}
|
||||
|
||||
global.Hydro.handler.manage = module.exports = apply;
|
||||
Reference in new issue
Block a user