10 lines
185 B
TypeScript
10 lines
185 B
TypeScript
|
|
import { Controller, Get } from '@nestjs/common';
|
||
|
|
|
||
|
|
@Controller('goods')
|
||
|
|
export class GoodsController {
|
||
|
|
@Get('hello')
|
||
|
|
getHello(): string {
|
||
|
|
return 'Hello World!';
|
||
|
|
}
|
||
|
|
}
|