From f468170d79dee3f8efb75705c7e23a1b53e54e91 Mon Sep 17 00:00:00 2001
From: feige <791364011@qq.com>
Date: 星期二, 29 七月 2025 22:08:02 +0800
Subject: [PATCH] 修改了内容

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

diff --git a/ruoyi-ui/src/api/system/user.js b/ruoyi-ui/src/api/system/user.js
index 1738144..57da77e 100644
--- a/ruoyi-ui/src/api/system/user.js
+++ b/ruoyi-ui/src/api/system/user.js
@@ -9,6 +9,14 @@
     params: query
   })
 }
+// 鏌ヨ鏅�氱敤鎴峰垪琛�
+export function listCommonUser(query) {
+  return request({
+    url: '/system/user/listCommonUser',
+    method: 'get',
+    params: query
+  })
+}
 
 // 鏌ヨ鐢ㄦ埛璇︾粏
 export function getUser(userId) {
@@ -30,8 +38,8 @@
 // 淇敼鐢ㄦ埛
 export function updateUser(data) {
   return request({
-    url: '/system/user',
-    method: 'put',
+    url: '/system/user/updateUserInfo',
+    method: 'post',
     data: data
   })
 }
@@ -162,6 +170,75 @@
   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(clanId){
+  return request({
+    url:'/self/user/allFamInfo?clanId='+clanId,
+    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/uidUJd/'+uid+'/'+tpfid,
+	  method: 'get'
+	})
+}
+//淇敼鏃堕�夋嫨閰嶅伓
+export function updatePO(tpfid,sex, clanId)
+{
+  return request({
+    url:'/self/user/uidAndUJd/' + tpfid + '/' + sex+"/"+clanId,
+    method: 'get'
+  })
+}
+//鏂板鏃堕�夋嫨閰嶅伓
+export function addPO(sex, clanId)
+{
+  return request({
+    url:'/self/user/sex/'+sex+"/"+clanId,
+    method: 'get'
+  })
+}

--
Gitblit v1.9.1