This commit is contained in:
2025-12-26 19:32:20 +08:00
parent c692d0c19d
commit 64ba53f73c

View File

@@ -19,7 +19,9 @@ app.route({
path: 'router', path: 'router',
key: 'list' key: 'list'
}).define(async (ctx) => { }).define(async (ctx) => {
ctx.body = app.router.getList(); ctx.body = {
list: app.router.getList()
}
}).addTo(app); }).addTo(app);
export const db = useConfigKey('db', () => { export const db = useConfigKey('db', () => {