From a5ba580dcafbdfc55b462df74c68ef5403b39332 Mon Sep 17 00:00:00 2001
From: ZhangXianQiang <1135831638@qq.com>
Date: 星期四, 25 四月 2024 18:03:56 +0800
Subject: [PATCH] fix:修改代理
---
src/api/platform/check-template.js | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
diff --git a/src/api/platform/check-template.js b/src/api/platform/check-template.js
index 620fd8f..95daedf 100644
--- a/src/api/platform/check-template.js
+++ b/src/api/platform/check-template.js
@@ -5,7 +5,7 @@
return request({
url: '/check/template/list',
method: 'get',
- data: query
+ params: query
})
}
@@ -26,6 +26,14 @@
})
}
+// 澶嶅埗鑰冩牳妯℃澘
+export function copyCheckTemplate(data) {
+ return request({
+ url: '/check/template/copy',
+ method: 'post',
+ data: data
+ })
+}
// 淇敼鑰冩牳妯℃澘
export function updateCheckTemplate(data) {
return request({
--
Gitblit v1.8.0