add install base

This commit is contained in:
2025-05-17 03:32:38 +08:00
parent 717e434ce0
commit 035ddc248c
28 changed files with 667 additions and 260 deletions

View File

@@ -6,6 +6,7 @@ app
.route({
path: 'config',
description: '获取配置',
middleware: ['auth'],
})
.define(async (ctx) => {
ctx.body = assistantConfig.getCacheAssistantConfig();
@@ -17,6 +18,7 @@ app
path: 'config',
key: 'set',
description: '设置配置',
middleware: ['auth'],
})
.define(async (ctx) => {
const { data } = ctx.query;