From 195beac1c7d16783f67caf8d922fb2c373639cad Mon Sep 17 00:00:00 2001 From: feige <feige@qq.com> Date: 星期一, 23 九月 2024 14:51:00 +0800 Subject: [PATCH] 修改了打不开详细页面 --- ruoyi-ui/src/api/self/index.js | 24 +++++++++++++++++++++--- 1 files changed, 21 insertions(+), 3 deletions(-) diff --git a/ruoyi-ui/src/api/self/index.js b/ruoyi-ui/src/api/self/index.js index 09dfb91..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', - }) } //鏇存柊涓汉淇℃伅 @@ -51,6 +50,7 @@ data: data }) } + // 鍒犻櫎鎴愬憳鍏崇郴 export function delRelation(ids) { return request({ @@ -139,7 +139,14 @@ method: 'delete', }) } - +//璇佷欢绫诲瀷鏁版嵁 +export function listType(query) { + return request({ + url: '/zCertificate/type', + method: 'get', + params: query + }) +} // 鏌ヨ鍑哄浗鎯呭喌 export function getAbroadList() { return request({ @@ -211,6 +218,16 @@ }) } +//鍒犻櫎涓汉鑷紶 +export function delAutobiography(ids) +{ + return request({ + url: '/zAutobiography/' +ids , + method: 'delete', + }) +} + + //鎷垮埌涓汉鑷紶 export function getCategory() { @@ -224,7 +241,7 @@ //涓婁紶鏂囦欢 export function uploadPic(data) { return request({ - url: '/common/upload', + url: '/common/uploads', method: 'post', data: data }) @@ -238,3 +255,4 @@ responseType: 'blob' }) } + -- Gitblit v1.9.1