From b9f97457e9d8e8a0f784c25b103697fca8fea2e4 Mon Sep 17 00:00:00 2001 From: feige <791364011@qq.com> Date: 星期二, 20 二月 2024 18:00:20 +0800 Subject: [PATCH] 再次修改 --- ruoyi-ui/src/api/system/user.js | 62 ++++++++++++++++++++++++++++++ 1 files changed, 61 insertions(+), 1 deletions(-) diff --git a/ruoyi-ui/src/api/system/user.js b/ruoyi-ui/src/api/system/user.js index b28e58c..027b6f1 100644 --- a/ruoyi-ui/src/api/system/user.js +++ b/ruoyi-ui/src/api/system/user.js @@ -35,7 +35,14 @@ data: data }) } - +export function updateUserInfo(data) +{ + return request({ + url: '/self/user', + method: 'put', + data: data + }) +} // 鍒犻櫎鐢ㄦ埛 export function delUser(userId) { return request({ @@ -150,3 +157,56 @@ }) } +//鏌ョ湅瀹跺涵淇℃伅 +export function getAllFamilys(){ + 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 -- Gitblit v1.9.1