From d14437e20cbd781725583e15c444da6f58192de8 Mon Sep 17 00:00:00 2001
From: feige <feige@qq.com>
Date: 星期一, 29 十二月 2025 15:03:27 +0800
Subject: [PATCH] 增加了代码

---
 ruoyi-ui/src/api/root/index.js |   29 +++++++++++++++++++++++++----
 1 files changed, 25 insertions(+), 4 deletions(-)

diff --git a/ruoyi-ui/src/api/root/index.js b/ruoyi-ui/src/api/root/index.js
index aad208b..1b1c89a 100644
--- a/ruoyi-ui/src/api/root/index.js
+++ b/ruoyi-ui/src/api/root/index.js
@@ -1,12 +1,12 @@
 import request from '@/utils/request'
 
 // 鑾峰彇瀹舵牴缃�
-export function listRoot(query) {
+export function listRoot(depth,clanId) {
  // alert(3)
   return request({
-    url: '/self/user/root?depth='+query,
+    url: '/self/user/root?depth='+depth+'&clanId='+clanId,
     method: 'get',
- //   params: query
+    // params: query
   })
 }
 
@@ -47,5 +47,26 @@
     params: query
   })
 }
+//淇敼鐢ㄦ埛绠�浠�
+export function updateInfoUser(data)
+{
+	return request({
+	  url: '/self/user',
+	  method: 'put',
+	  data: data
+	})
+}
 
-
+export function getFamilyMembers(clanId) {
+  return request({
+    url: '/self/user/allFamInfo?clanId='+clanId,
+    method: 'get',
+  })
+}
+export function listAnotherFamilyInfo(userId)
+{
+  return request({
+    url:'/self/user/getAnotherFamInfo/'+userId,
+    method: 'get'
+  })
+}
\ No newline at end of file

--
Gitblit v1.9.1