From 1aa5be564d5df56297355a2e71ae4ff6c7df0042 Mon Sep 17 00:00:00 2001
From: feige <feige@qq.com>
Date: 星期一, 09 十月 2023 10:03:23 +0800
Subject: [PATCH] ss
---
ruoyi-ui/src/api/secret/index.js | 14 ++++++++++----
1 files changed, 10 insertions(+), 4 deletions(-)
diff --git a/ruoyi-ui/src/api/secret/index.js b/ruoyi-ui/src/api/secret/index.js
index 5a4677e..f8097c7 100644
--- a/ruoyi-ui/src/api/secret/index.js
+++ b/ruoyi-ui/src/api/secret/index.js
@@ -13,11 +13,11 @@
// 鏍规嵁id鏌ヨ鎵�鏈夋敹鏀彴璐︿俊鎭�
-export function getSecretInfo(id) {
+export function getSecretInfo(query) {
return request({
- url: '/zSecret/' + id,
+ url: '/zSecret',
method: 'get',
-
+ params: query
})
}
//鏂板鏀舵敮鍙拌处
@@ -63,5 +63,11 @@
responseType: 'blob'
})
}
-
+export function enload(data) {
+ return request({
+ url: '/zSecret/importData',
+ method: 'post',
+ data: data
+ })
+}
--
Gitblit v1.9.1