From 7a8ac0881c0e58fc07dcf73979852bbdb0f68c35 Mon Sep 17 00:00:00 2001
From: 张钢 <floatgang@163.com>
Date: 星期日, 25 八月 2024 09:31:47 +0800
Subject: [PATCH] 修改了语法错误
---
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