From be4c17512fe93511c21939d594c843b9594b1549 Mon Sep 17 00:00:00 2001
From: feige <791364011@qq.com>
Date: 星期四, 29 八月 2024 22:51:39 +0800
Subject: [PATCH] 修改成昵称登录了

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

diff --git a/ruoyi-ui/src/api/system/user.js b/ruoyi-ui/src/api/system/user.js
index a995b21..231d1e3 100644
--- a/ruoyi-ui/src/api/system/user.js
+++ b/ruoyi-ui/src/api/system/user.js
@@ -179,9 +179,9 @@
     method: 'get'
   })
 }
-export function getAllInfo(){
+export function getAllInfo(clanId){
   return request({
-    url:'/self/user/allFamInfo',
+    url:'/self/user/allFamInfo?clanId='+clanId,
     method: 'get'
   })
 }
@@ -217,4 +217,20 @@
 	  url:'/self/user/uidAndUJd/'+uid+'/'+tpfid,
 	  method: 'get'
 	})
-}
\ No newline at end of file
+}
+//淇敼鏃堕�夋嫨閰嶅伓
+export function updatePO(tpfid,sex)
+{
+  return request({
+    url:'/self/user/uidAndUJd/' + tpfid + '/' + sex,
+    method: 'get'
+  })
+}
+//鏂板鏃堕�夋嫨閰嶅伓
+export function addPO(sex)
+{
+  return request({
+    url:'/self/user/sex/'+sex,
+    method: 'get'
+  })
+}

--
Gitblit v1.9.1