From f3617593bf3a08eb88b29637332a863bc0eec0f2 Mon Sep 17 00:00:00 2001
From: 龚焕茏 <2842157468@qq.com>
Date: 星期日, 28 四月 2024 10:28:25 +0800
Subject: [PATCH] 图片预览组件

---
 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