From a5304cbc7793f5b3106c63b8f1b36ebebb4a480b Mon Sep 17 00:00:00 2001 From: yz3456 <2753272399@qq.com> Date: 星期一, 27 五月 2024 16:29:47 +0800 Subject: [PATCH] 修改完其他附件图表 --- ruoyi-ui/src/api/secret/index.js | 10 +++++++++- 1 files changed, 9 insertions(+), 1 deletions(-) diff --git a/ruoyi-ui/src/api/secret/index.js b/ruoyi-ui/src/api/secret/index.js index f8097c7..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 }) @@ -71,3 +71,11 @@ }) } +export function getCategory() +{ + return request({ + url: '/zSecret/type', + method: 'get', + // params: {'id':22} + }) +} \ No newline at end of file -- Gitblit v1.9.1