Skip to content
  • Projects
  • Groups
  • Snippets
  • Help

front-document / front-server

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Issues 0
  • Merge Requests 0
  • Pipelines
  • Wiki
  • Settings
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Branches
  • Tags
  • Contributors
  • Graph
  • Compare
  • Charts
Switch branch/tag
  • front-server
  • app
  • controller
  • home.js
  • 胡悦's avatar
    first · 0d19ed36
    胡悦 committed Feb 23, 2022
    0d19ed36 Browse Files
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;