From adc0a1df2d5bc0842b5d4b950380a5b7ce469711 Mon Sep 17 00:00:00 2001
From: master <master@163.com>
Date: 星期五, 25 三月 2022 10:22:59 +0800
Subject: [PATCH] 2022-03-25 10:22:00
---
src/app/modules/business/controller/admin/deviceattachment.ts | 34 +++++++++++++++++-----------------
1 files changed, 17 insertions(+), 17 deletions(-)
diff --git a/src/app/modules/business/controller/admin/deviceattachment.ts b/src/app/modules/business/controller/admin/deviceattachment.ts
index 3be1e92..680fb47 100644
--- a/src/app/modules/business/controller/admin/deviceattachment.ts
+++ b/src/app/modules/business/controller/admin/deviceattachment.ts
@@ -4,30 +4,30 @@
import { DeviceattachmentService } from '../../service/deviceattachment';
import { DataController } from '../../../base/controller/dataController';
/**
- * 璁惧鐩稿叧鐨勯檮浠�
- */
+聽 聽 聽 聽 * 璁惧鐩稿叧鐨勯檮浠�
+聽 聽 聽 聽 */
@Provide()
-@CoolController({
- api: ['add', 'delete', 'update', 'list', 'page', 'info'],
- entity: Deviceattachment,
- service: DeviceattachmentService,
+@CoolController({
+ 聽api: ['add', 'delete', 'update', 'list','page','info'],
+ 聽entity: Deviceattachment,
+ 聽service: DeviceattachmentService,
})
export class DeviceattachmentController extends DataController {
- @Inject()
- deviceattachmentService: DeviceattachmentService;
-
+ 聽@Inject()
+ 聽deviceattachmentService: DeviceattachmentService;
+ 聽
/**
* 鑾峰緱鏁版嵁
*/
- @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));
- }
+ 聽 @Get('/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