From cef9c530bac641ed23780a54b1e167d1dde88267 Mon Sep 17 00:00:00 2001 From: feige <791364011@qq.com> Date: 星期四, 12 九月 2024 16:36:28 +0800 Subject: [PATCH] 修改了分享接口 --- 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