From 80e0b09695493b7f811f746dfb7158244088afe3 Mon Sep 17 00:00:00 2001 From: feige <791364011@qq.com> Date: 星期日, 22 九月 2024 11:02:56 +0800 Subject: [PATCH] 修改了多个bug --- ruoyi-ui/src/api/self/index.js | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ruoyi-ui/src/api/self/index.js b/ruoyi-ui/src/api/self/index.js index 13417ea..d8a1ae5 100644 --- a/ruoyi-ui/src/api/self/index.js +++ b/ruoyi-ui/src/api/self/index.js @@ -5,7 +5,6 @@ return request({ url: '/self/user' , method: 'get', - }) } //鏇存柊涓汉淇℃伅 @@ -242,7 +241,7 @@ //涓婁紶鏂囦欢 export function uploadPic(data) { return request({ - url: '/common/upload', + url: '/common/uploads', method: 'post', data: data }) @@ -256,3 +255,4 @@ responseType: 'blob' }) } + -- Gitblit v1.9.1