初始化

This commit is contained in:
robin
2022-08-02 19:21:03 +08:00
parent 73c1343060
commit b7e5ee5fec
27 changed files with 564 additions and 156 deletions
+1 -2
View File
@@ -58,9 +58,8 @@ module.exports = {
})
})
//默认根路由
router.all('/', async (ctx, next) => {
ctx.body = app.res.success("ok")
ctx.status = 200
await next();