From 7fc578dc2032fac935267e92208f7f11384e3800 Mon Sep 17 00:00:00 2001 From: feige <791364011@qq.com> Date: 星期四, 28 十一月 2024 08:36:36 +0800 Subject: [PATCH] 修改了相关bug --- ruoyi-ui/src/api/self/index.js | 25 +++++++++++++++++++++---- 1 files changed, 21 insertions(+), 4 deletions(-) diff --git a/ruoyi-ui/src/api/self/index.js b/ruoyi-ui/src/api/self/index.js index fab5092..c473ba0 100644 --- a/ruoyi-ui/src/api/self/index.js +++ b/ruoyi-ui/src/api/self/index.js @@ -5,13 +5,12 @@ return request({ url: '/self/user' , method: 'get', - }) } //鏇存柊涓汉淇℃伅 export function updateIndividual(data) { return request({ - url: '/self/user', + url: '/self/user/updateInfo', method: 'put', data: data }) @@ -140,7 +139,14 @@ method: 'delete', }) } - +//璇佷欢绫诲瀷鏁版嵁 +export function listType(query) { + return request({ + url: '/zCertificate/type', + method: 'get', + params: query + }) +} // 鏌ヨ鍑哄浗鎯呭喌 export function getAbroadList() { return request({ @@ -212,6 +218,16 @@ }) } +//鍒犻櫎涓汉鑷紶 +export function delAutobiography(ids) +{ + return request({ + url: '/zAutobiography/' +ids , + method: 'delete', + }) +} + + //鎷垮埌涓汉鑷紶 export function getCategory() { @@ -225,7 +241,7 @@ //涓婁紶鏂囦欢 export function uploadPic(data) { return request({ - url: '/common/upload', + url: '/common/uploads', method: 'post', data: data }) @@ -239,3 +255,4 @@ responseType: 'blob' }) } + -- Gitblit v1.9.1