修改退出接口调用

This commit is contained in:
daihh
2023-07-05 19:19:23 +08:00
parent 6f908cbe8f
commit 8cf834b11c
4 changed files with 18 additions and 8 deletions

View File

@@ -8,6 +8,13 @@ const login = function() {
return ajax.post(baseURL,'/org/userParentOrg',{});
}
/**退出*/
const logout = function() {
return ajax.postJson(baseURL,'/userbasic/logout',{from:'pc'});
}
/**
* 获取用户的组织机构
* organization_id
@@ -106,5 +113,6 @@ export default {
modifyPassword,
getInAudienceIds,
getUsersByIds,
updateUser
updateUser,
logout
}