From 1660e0f0083d1a682bf0dca9dcaf2e8ba2502f38 Mon Sep 17 00:00:00 2001 From: linwenling <3256558519@qq.com> Date: 星期日, 22 十月 2023 23:10:13 +0800 Subject: [PATCH] 1022 修正时间 --- 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