初始化项目

This commit is contained in:
dengtongyu committed 2020-11-20 16:07:37 +08:00
commit 28f327c903
19 files changed
+434

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
'use strict';
const Controller = require('egg').Controller;
class HomeController extends Controller {
async index() {
const { ctx } = this;
ctx.body = 'hi, egg';
}
}
module.exports = HomeController;