From 4d3ebe187b31d7b9b1827a4e006749deddfc38ae Mon Sep 17 00:00:00 2001 From: feige <791364011@qq.com> Date: 星期二, 05 三月 2024 17:45:48 +0800 Subject: [PATCH] 修改了个人模块的图片上传等问题 --- ruoyi-ui/src/api/clean/index.js | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ruoyi-ui/src/api/clean/index.js b/ruoyi-ui/src/api/clean/index.js index faa4bf8..ecbbe35 100644 --- a/ruoyi-ui/src/api/clean/index.js +++ b/ruoyi-ui/src/api/clean/index.js @@ -28,7 +28,7 @@ // 鍒犻櫎璧勪骇淇℃伅 export function delClean(Ids) { return request({ - url: '/zfClean' + Ids, + url: '/zfClean/' + Ids, method: 'delete' }) } @@ -43,7 +43,7 @@ //涓婁紶鏂囦欢 export function uploadPic(data) { return request({ - url: '/common/upload', + url: '/common/uploads', method: 'post', data: data }) -- Gitblit v1.9.1