更新依赖项,优化 WebSocket 处理,添加系统版本路由

This commit is contained in:
2025-12-20 05:13:17 +08:00
parent 76924b008c
commit d22be3a840
7 changed files with 240 additions and 57 deletions

View File

@@ -166,3 +166,14 @@ app
}
})
.addTo(app);
app.route({
path: 'system',
key: 'version'
}).define(async (ctx) => {
ctx.body = {
version: '0.0.1',
name: 'KeVisual Backend System',
}
}).addTo(app);