From bd40473c9c634005bc7e62e7fc901bcd8b598fa0 Mon Sep 17 00:00:00 2001
From: feige <feige@qq.com>
Date: 星期五, 02 二月 2024 15:20:26 +0800
Subject: [PATCH] 提交了修改

---
 ruoyi-ui/src/api/system/user.js |   71 +++++++++++++++++++++++++++++++++++
 1 files changed, 70 insertions(+), 1 deletions(-)

diff --git a/ruoyi-ui/src/api/system/user.js b/ruoyi-ui/src/api/system/user.js
index 75421f1..027b6f1 100644
--- a/ruoyi-ui/src/api/system/user.js
+++ b/ruoyi-ui/src/api/system/user.js
@@ -35,7 +35,14 @@
     data: data
   })
 }
-
+export function updateUserInfo(data)
+{
+  return request({
+    url: '/self/user',
+    method: 'put',
+    data: data
+  })
+}
 // 鍒犻櫎鐢ㄦ埛
 export function delUser(userId) {
   return request({
@@ -141,3 +148,65 @@
     data: data
   })
 }
+
+//鏌ョ湅
+export function getFamilyids(id) {
+  return request({
+    url: '/family/'+id ,
+    method: 'get',
+
+  })
+}
+//鏌ョ湅瀹跺涵淇℃伅
+export function getAllFamilys(){
+  return request({
+    url: '/family/all' ,
+    method: 'get',
+
+  })
+}
+
+export function getInfoByFid(fid)
+{
+  return request({
+    url:'/self/user/list/getInfoByfid/'+fid,
+    method: 'get'
+  })
+}
+export function getIndividual(id){
+  return request({
+    url:'/self/user/'+id,
+    method: 'get'
+  })
+}
+export function getAllInfo(){
+  return request({
+    url:'/self/user/allFamInfo',
+    method: 'get'
+  })
+}
+export function setAuority(data)
+{
+  return request({
+    url:'/authority/empower',
+    method:'post',
+    data:data
+  })
+}
+export function getUserByFidAid(data)
+{
+  return request({
+    url:'/authority/getInfoByAidFid',
+    method: 'post',
+    data: data
+  })
+}
+export function deleteUserByFidAid(data)
+{
+  return request({
+    url:'/authority/deleteInfoByAidFid',
+    method: 'post',
+    data: data
+  })
+}
+// export function get

--
Gitblit v1.9.1