From 780c1858c9d8f3adf17287ddc4c717833e305c65 Mon Sep 17 00:00:00 2001
From: feige <791364011@qq.com>
Date: 星期日, 16 六月 2024 13:47:39 +0800
Subject: [PATCH] Merge branch 'master' of http://47.93.189.255:8099/r/zhangshi_app_web
---
ruoyi-ui/src/api/system/user.js | 59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++---
1 files changed, 56 insertions(+), 3 deletions(-)
diff --git a/ruoyi-ui/src/api/system/user.js b/ruoyi-ui/src/api/system/user.js
index 1738144..a995b21 100644
--- a/ruoyi-ui/src/api/system/user.js
+++ b/ruoyi-ui/src/api/system/user.js
@@ -30,8 +30,8 @@
// 淇敼鐢ㄦ埛
export function updateUser(data) {
return request({
- url: '/system/user',
- method: 'put',
+ url: '/system/user/updateUserInfo',
+ method: 'post',
data: data
})
}
@@ -162,6 +162,59 @@
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
+//淇敼鐖朵翰姣嶄翰
+export function updateFM(uid, tpfid)
+{
+ return request({
+ url:'/self/user/uidAndUJd/'+uid+'/'+tpfid,
+ method: 'get'
+ })
}
\ No newline at end of file
--
Gitblit v1.9.1