feat: init
This commit is contained in:
9
src/controller/home.controller.ts
Normal file
9
src/controller/home.controller.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
import { Controller, Get } from '@midwayjs/core';
|
||||
|
||||
@Controller('/')
|
||||
export class HomeController {
|
||||
@Get('/')
|
||||
async home(): Promise<string> {
|
||||
return 'Hello Midwayjs!';
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user