📜  Nestjs 初学者教程 - TypeScript 代码示例

📅  最后修改于: 2022-03-11 14:48:34.190000             🧑  作者: Mango

代码示例1
import { Injectable, HttpException } from '@nestjs/common';
import { COURSES } from './courses.mock';

@Injectable()
export class CoursesService {
    courses = COURSES;
}