|
|
@ -16,7 +16,8 @@ enum Api { |
|
|
|
del = '/system_proxy/system/user/remove', |
|
|
|
del = '/system_proxy/system/user/remove', |
|
|
|
updatePwd = '/system_proxy/system/user/updatePwd', |
|
|
|
updatePwd = '/system_proxy/system/user/updatePwd', |
|
|
|
resetPwd='/system_proxy/system/user/resetPwd', |
|
|
|
resetPwd='/system_proxy/system/user/resetPwd', |
|
|
|
changeStatus='/system_proxy/system/user/changeStatus' |
|
|
|
changeStatus='/system_proxy/system/user/changeStatus', |
|
|
|
|
|
|
|
changeTenement='/system_proxy/system/user/changeTenement' |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/** 查询用户列表 */ |
|
|
|
/** 查询用户列表 */ |
|
|
@ -42,3 +43,6 @@ export const resetPwd = (params: Partial<User>) => defHttp.put({ url: Api.resetP |
|
|
|
|
|
|
|
|
|
|
|
/** 修改用户状态 */ |
|
|
|
/** 修改用户状态 */ |
|
|
|
export const changeStatus = (id: string, status: string) => defHttp.put({ url: Api.changeStatus, data: { id: id, status: status } }); |
|
|
|
export const changeStatus = (id: string, status: string) => defHttp.put({ url: Api.changeStatus, data: { id: id, status: status } }); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** 修改用户多租户 */ |
|
|
|
|
|
|
|
export const changeTenement = (tenementId: string) => defHttp.put({ url: Api.changeTenement, params: { tenementId } }); |
|
|
|