From f3c6616d20f5f7ecedd8a0517936856e0ec1c2aa Mon Sep 17 00:00:00 2001 From: yz3456 <2753272399@qq.com> Date: 星期日, 07 四月 2024 17:25:37 +0800 Subject: [PATCH] 完善了家庭会议模块,解决了个人记事本详情其他附件需要更新才能查看的问题 --- ruoyi-ui/src/api/secret/index.js | 18 ++++++++++++++++-- 1 files changed, 16 insertions(+), 2 deletions(-) diff --git a/ruoyi-ui/src/api/secret/index.js b/ruoyi-ui/src/api/secret/index.js index 36d54b7..e7adf51 100644 --- a/ruoyi-ui/src/api/secret/index.js +++ b/ruoyi-ui/src/api/secret/index.js @@ -49,7 +49,7 @@ //涓婁紶鏂囦欢 export function uploadPic(data) { return request({ - url: '/common/upload', + url: '/common/uploads', method: 'post', data: data }) @@ -63,5 +63,19 @@ responseType: 'blob' }) } +export function enload(data) { + return request({ + url: '/zSecret/importData', + method: 'post', + data: data + }) +} - +export function getCategory() +{ + return request({ + url: '/zSecret/type', + method: 'get', + // params: {'id':22} + }) +} \ No newline at end of file -- Gitblit v1.9.1