添加默认路由

This commit is contained in:
luyuan 2020-02-24 11:12:29 +08:00
parent d43017eff2
commit 00f138d4aa

7
controllers/index.js Normal file
View File

@ -0,0 +1,7 @@
let index = async (ctx,next)=>{
ctx.body = ""
}
module.exports = {
"GET /":index
}