fix: 创建base.dto解决612个编译错误
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"timestamp": "2025-10-28T07:58:44.725Z",
|
"timestamp": "2025-10-29T02:54:59.685Z",
|
||||||
"stats": {
|
"stats": {
|
||||||
"startTime": "2025-10-28T07:58:42.974Z",
|
"startTime": "2025-10-29T02:54:58.550Z",
|
||||||
"endTime": null,
|
"endTime": null,
|
||||||
"filesProcessed": 1215,
|
"filesProcessed": 1215,
|
||||||
"modulesGenerated": 6,
|
"modulesGenerated": 6,
|
||||||
|
|||||||
@@ -0,0 +1,8 @@
|
|||||||
|
/**
|
||||||
|
* DTO基类
|
||||||
|
* 所有DTO都继承此类
|
||||||
|
*/
|
||||||
|
export class BaseDto {
|
||||||
|
// 基础DTO类,可以添加通用字段
|
||||||
|
}
|
||||||
|
|
||||||
@@ -16,7 +16,7 @@ export class ControllerModule {
|
|||||||
|
|
||||||
return {
|
return {
|
||||||
module: ControllerModule,
|
module: ControllerModule,
|
||||||
imports: [ServiceModule],
|
imports: [ServiceModule.register()],
|
||||||
controllers,
|
controllers,
|
||||||
providers: [],
|
providers: [],
|
||||||
exports: [],
|
exports: [],
|
||||||
|
|||||||
Reference in New Issue
Block a user