From dc2144395dd23896004bf4f7a1ce73b5da4a315d Mon Sep 17 00:00:00 2001
From: yz3456 <2753272399@qq.com>
Date: 星期二, 02 四月 2024 15:33:56 +0800
Subject: [PATCH] 修改了3月30这周的所有bug1
---
ruoyi-ui/src/api/system/user.js | 58 +++++++++++++++++++++++++++++++++++++++++++++++++++++++---
1 files changed, 55 insertions(+), 3 deletions(-)
diff --git a/ruoyi-ui/src/api/system/user.js b/ruoyi-ui/src/api/system/user.js
index e7a29de..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({
@@ -155,6 +162,51 @@
return request({
url: '/family/all' ,
method: 'get',
-
+
})
-}
\ No newline at end of file
+}
+
+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