From d21898442a310b20fa0d6bc604fa541251f7cf56 Mon Sep 17 00:00:00 2001
From: feige <feige@qq.com>
Date: 星期一, 10 四月 2023 17:12:45 +0800
Subject: [PATCH] 修改了router下面的index.js //编辑个人信息   {     path: '/self/self',     component: Layout,     permissions: ['person:information:edit'],

---
 ruoyi-ui/src/api/self/index.js |   32 ++++++++++++++++++++++++++++++--
 1 files changed, 30 insertions(+), 2 deletions(-)

diff --git a/ruoyi-ui/src/api/self/index.js b/ruoyi-ui/src/api/self/index.js
index ba8eb34..40242f8 100644
--- a/ruoyi-ui/src/api/self/index.js
+++ b/ruoyi-ui/src/api/self/index.js
@@ -19,9 +19,9 @@
 }
 
 // 鍒犻櫎涓汉淇℃伅
-export function delIndividual(Ids) {
+export function delIndividual(ids) {
   return request({
-    url: '/self/user' ,
+    url: '/self/user' +ids,
     method: 'delete'
   })
 }
@@ -190,3 +190,31 @@
     data: data
   })
 }
+
+//鎷垮埌鑷紶
+export function getAutobiography()
+{
+  return request({
+    url: '/zDict/byId',
+    method: 'get',
+    params: {'id':23}
+  })
+}
+
+//涓婁紶鏂囦欢
+export function uploadPic(data) {
+  return request({
+    url: '/common/upload',
+    method: 'post',
+    data: data
+  })
+}
+//涓嬭浇鏂囦欢
+export function download(data) {
+  return request({
+    url: '/common/downLoadFile',
+    method: 'get',
+    params: data,
+    responseType: 'blob'
+  })
+}

--
Gitblit v1.9.1