@ -17,7 +17,8 @@ enum Api {
@@ -17,7 +17,8 @@ enum Api {
updatePwd = '/system_proxy/system/user/updatePwd' ,
resetPwd = '/system_proxy/system/user/resetPwd' ,
changeStatus = '/system_proxy/system/user/changeStatus' ,
changeTenant = '/system_proxy/system/user/changeTenant'
changeTenant = '/system_proxy/system/user/changeTenant' ,
resetTenant = '/system_proxy/system/user/resetTenant'
}
/** 查询用户列表 */
@ -46,3 +47,6 @@ export const changeStatus = (id: string, status: string) => defHttp.put({ url: A
@@ -46,3 +47,6 @@ export const changeStatus = (id: string, status: string) => defHttp.put({ url: A
/** 修改用户多租户 */
export const changeTenant = ( tenantIds : string [ ] ) = > defHttp . get ( { url : ` ${ Api . changeTenant } / ${ tenantIds } ` } ) ;
/** 还原用户多租户 */
export const resetTenant = ( ) = > defHttp . get ( { url : Api.resetTenant } ) ;