修改退出登录逻辑,新增访问接口退出

This commit is contained in:
2024-05-30 17:21:30 +08:00
parent 7ac104d1b8
commit 60fcd5f8e2
3 changed files with 13 additions and 3 deletions

View File

@@ -54,4 +54,8 @@ export const getUserParksAndTenementsList = async function() {
// 获取所有未阅读的用户数
export const getUnReadApproveNumber = async function() {
return await GET('/wx/getApproveNumber');
}
// 退出登录
export const logout = async function() {
return await POST('/wx/logout');
}