添加网页调试

This commit is contained in:
wangdan
2020-09-09 12:31:17 +08:00
parent f8ac401c67
commit b591a0120c
19 changed files with 370 additions and 7 deletions

View File

@@ -5,4 +5,11 @@ export default class HomeController extends Controller {
const { ctx } = this;
ctx.body = await ctx.service.test.sayHi('egg');
}
public async dev() {
const { ctx } = this;
await ctx.render('index',{
title: 'xxx'
});
}
}