From 74c662058b047bca28876b1851006ed16b6dc237 Mon Sep 17 00:00:00 2001
From: feige <791364011@qq.com>
Date: 星期二, 27 八月 2024 17:51:02 +0800
Subject: [PATCH] 修改了对应的bug

---
 ruoyi-ui/src/api/self/index.js |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/ruoyi-ui/src/api/self/index.js b/ruoyi-ui/src/api/self/index.js
index 13417ea..804a6c9 100644
--- a/ruoyi-ui/src/api/self/index.js
+++ b/ruoyi-ui/src/api/self/index.js
@@ -242,7 +242,7 @@
 //涓婁紶鏂囦欢
 export function uploadPic(data) {
   return request({
-    url: '/common/upload',
+    url: '/common/uploads',
     method: 'post',
     data: data
   })
@@ -256,3 +256,4 @@
     responseType: 'blob'
   })
 }
+

--
Gitblit v1.9.1