From 3b3684de8cb610dada27f1b89faab9c11c9d057c Mon Sep 17 00:00:00 2001
From: wr1207 <wyun001@163.com>
Date: 星期三, 09 三月 2022 10:24:45 +0800
Subject: [PATCH] 增加通用数据接口的post方法

---
 src/app/modules/base/controller/admin/comm.ts |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/app/modules/base/controller/admin/comm.ts b/src/app/modules/base/controller/admin/comm.ts
index 9ab7bff..b063a2f 100644
--- a/src/app/modules/base/controller/admin/comm.ts
+++ b/src/app/modules/base/controller/admin/comm.ts
@@ -107,7 +107,7 @@
   /**
    * 鑾峰緱鏁版嵁
    */
-   @Get('/postdata', { summary: '鏁版嵁鎺ュ彛' })
+   @Post('/postdata', { summary: '鏁版嵁鎺ュ彛' })
    async postData(@Query(ALL) params: any) {
      return this.ok(await this.dataService.getData(params));
    }     

--
Gitblit v1.9.1