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 |   11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/ruoyi-ui/src/api/clean/index.js b/ruoyi-ui/src/api/clean/index.js
index 1be79a3..ecbbe35 100644
--- a/ruoyi-ui/src/api/clean/index.js
+++ b/ruoyi-ui/src/api/clean/index.js
@@ -20,14 +20,15 @@
 export function addClean(data) {
     return request({
       url: '/zfClean',
-      method: 'post'
+      method: 'post',
+      data: data
     })
   }
 
 // 鍒犻櫎璧勪骇淇℃伅
 export function delClean(Ids) {
   return request({
-    url: '/zfClean' + Ids,
+    url: '/zfClean/' + Ids,
     method: 'delete'
   })
 }
@@ -42,7 +43,7 @@
 //涓婁紶鏂囦欢
 export function uploadPic(data) {
   return request({
-    url: '/common/upload',
+    url: '/common/uploads',
     method: 'post',
     data: data
   })
@@ -68,10 +69,10 @@
 }
 
 
-//涓婁紶鏂囦欢
+//瀵煎叆
 export function enload(data) {
   return request({
-    url: '/family/property/importData',
+    url: '/zfClean/importData',
     method: 'post',
     data: data
   })

--
Gitblit v1.9.1