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 | 28 ++++++++++++++++++++++++++-- 1 files changed, 26 insertions(+), 2 deletions(-) diff --git a/ruoyi-ui/src/api/system/user.js b/ruoyi-ui/src/api/system/user.js index 3ab2ef9..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' }) } @@ -210,3 +210,27 @@ }) } // export function get +//淇敼鐖朵翰姣嶄翰 +export function updateFM(uid, tpfid) +{ + return request({ + url:'/self/user/uidAndUJd/'+uid+'/'+tpfid, + method: 'get' + }) +} +//淇敼鏃堕�夋嫨閰嶅伓 +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