ruoyi-ui/src/api/self/index.js
@@ -5,7 +5,6 @@ return request({ url: '/self/user' , method: 'get', }) } //更新个人信息 @@ -219,6 +218,16 @@ }) } //删除个人自传 export function delAutobiography(ids) { return request({ url: '/zAutobiography/' +ids , method: 'delete', }) } //拿到个人自传 export function getCategory() { @@ -232,7 +241,7 @@ //上传文件 export function uploadPic(data) { return request({ url: '/common/upload', url: '/common/uploads', method: 'post', data: data }) @@ -246,3 +255,4 @@ responseType: 'blob' }) }