home.js 207 Bytes RawBlameHistoryPermalink 1 2 3 4 5 6 7 8 9 10 // app/controller/home.js const Controller = require('egg').Controller; class HomeController extends Controller { async index() { this.ctx.body = 'Hello world'; } } module.exports = HomeController;