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/devicegroup.ts | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/app/modules/business/controller/admin/devicegroup.ts b/src/app/modules/business/controller/admin/devicegroup.ts
index 715f48f..7804576 100644
--- a/src/app/modules/business/controller/admin/devicegroup.ts
+++ b/src/app/modules/business/controller/admin/devicegroup.ts
@@ -21,13 +21,13 @@
*/
@Get('/getdata', { summary: '鏁版嵁鎺ュ彛' })
async getData(@Query(ALL) params: any) {
- return this.ok(await this.dataService.getData(params));
+ return this.ok(await this.devicegroupService.getData(params));
}
/**
* 鑾峰緱鏁版嵁
*/
- @Get('/postdata', { summary: '鏁版嵁鎺ュ彛' })
+ @Post('/postdata', { summary: '鏁版嵁鎺ュ彛' })
async postData(@Query(ALL) params: any) {
- return this.ok(await this.dataService.getData(params));
+ return this.ok(await this.devicegroupService.getData(params));
}
}
\ No newline at end of file
--
Gitblit v1.9.1