From c0f7b99859c8b958a3d1210a046b57dd1b89e411 Mon Sep 17 00:00:00 2001
From: master <master@163.com>
Date: 星期五, 25 三月 2022 14:17:02 +0800
Subject: [PATCH] add cros

---
 src/app/modules/business/controller/admin/trubinelocation.ts |   34 +++++++++++++++++-----------------
 1 files changed, 17 insertions(+), 17 deletions(-)

diff --git a/src/app/modules/business/controller/admin/trubinelocation.ts b/src/app/modules/business/controller/admin/trubinelocation.ts
index e1eddca..c52318d 100644
--- a/src/app/modules/business/controller/admin/trubinelocation.ts
+++ b/src/app/modules/business/controller/admin/trubinelocation.ts
@@ -4,30 +4,30 @@
 import { TrubinelocationService } from '../../service/trubinelocation';
 import { DataController } from '../../../base/controller/dataController';
 /**
-聽 聽 聽 聽 * 鏂楄疆鏈轰俊鎭�
-聽 聽 聽 聽 */
+        * 鏂楄疆鏈轰俊鎭�
+        */
 @Provide()
-@CoolController({ 
- 聽api: ['add', 'delete', 'update', 'list','page','info'],
- 聽entity: Trubinelocation,
- 聽service: TrubinelocationService,
+@CoolController({
+  api: ['add', 'delete', 'update', 'list', 'page', 'info'],
+  entity: Trubinelocation,
+  service: TrubinelocationService,
 })
 export class TrubinelocationController extends DataController {
- 聽@Inject()
- 聽trubinelocationService: TrubinelocationService;
- 聽
+  @Inject()
+  trubinelocationService: TrubinelocationService;
+
   /**
   * 鑾峰緱鏁版嵁
   */
- 聽 @Get('/getdata', { summary: '鏁版嵁鎺ュ彛' })
- 聽 async getData(@Query(ALL) params: any) {
- 聽  聽 return this.ok(await this.dataService.getData(params));
- 聽 }
+  @Get('/getdata', { summary: '鏁版嵁鎺ュ彛' })
+  async getData(@Query(ALL) params: any) {
+    return this.ok(await this.dataService.getData(params));
+  }
   /**
   * 鑾峰緱鏁版嵁
   */
- 聽 @Get('/postdata', { summary: '鏁版嵁鎺ュ彛' })
- 聽 async postData(@Query(ALL) params: any) {
- 聽  聽 return this.ok(await this.dataService.getData(params));
- 聽 }
+  @Post('/postdata', { summary: '鏁版嵁鎺ュ彛' })
+  async postData(@Query(ALL) params: any) {
+    return this.ok(await this.dataService.getData(params));
+  }
 }
\ No newline at end of file

--
Gitblit v1.9.1