初始化:职引项目 v1.0
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
import { Controller, Get } from '@nestjs/common'
|
||||
import { Public } from '../../common/decorators/public.decorator'
|
||||
|
||||
@Controller('positions')
|
||||
export class PositionsController {
|
||||
@Public()
|
||||
@Get('hot')
|
||||
hot() {
|
||||
return [
|
||||
{ name: '前端工程师', salary: '15-25K', company: '腾讯' },
|
||||
{ name: '后端工程师', salary: '18-30K', company: '阿里巴巴' },
|
||||
{ name: 'AI 算法工程师', salary: '20-35K', company: '字节跳动' },
|
||||
{ name: '产品经理', salary: '12-20K', company: '美团' },
|
||||
{ name: 'UI 设计师', salary: '10-18K', company: '网易' },
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user