From 58389be5d3c1bbf4e47976f7ea09977be8bb84c5 Mon Sep 17 00:00:00 2001
From: master <master@163.com>
Date: 星期四, 07 四月 2022 15:27:38 +0800
Subject: [PATCH] 重写add接口
---
src/app/modules/business/controller/admin/trubinelocation.ts | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/app/modules/business/controller/admin/trubinelocation.ts b/src/app/modules/business/controller/admin/trubinelocation.ts
index c52318d..e03cdcd 100644
--- a/src/app/modules/business/controller/admin/trubinelocation.ts
+++ b/src/app/modules/business/controller/admin/trubinelocation.ts
@@ -1,7 +1,7 @@
import { ALL, Body, Get, Inject, Post, Provide, Query } from '@midwayjs/decorator';
import { CoolController, BaseController } from '@cool-midway/core';
import { Trubinelocation } from '../../entity/trubinelocation';
-import { TrubinelocationService } from '../../service/trubinelocation';
+// import { TrubinelocationService } from '../../service/trubinelocation';
import { DataController } from '../../../base/controller/dataController';
/**
* 鏂楄疆鏈轰俊鎭�
@@ -10,11 +10,11 @@
@CoolController({
api: ['add', 'delete', 'update', 'list', 'page', 'info'],
entity: Trubinelocation,
- service: TrubinelocationService,
+ // service: TrubinelocationService,
})
export class TrubinelocationController extends DataController {
- @Inject()
- trubinelocationService: TrubinelocationService;
+ // @Inject()
+ // trubinelocationService: TrubinelocationService;
/**
* 鑾峰緱鏁版嵁
--
Gitblit v1.9.1