解绑openId

This commit is contained in:
nisen
2023-10-17 15:43:13 +08:00
parent 6f4ef2e32a
commit eb9e3f6b91
4 changed files with 81 additions and 10 deletions

View File

@@ -96,6 +96,14 @@ const logout = function() {
return ajax.postJson('/logout',{"from":plat});
}
// 获取用户解绑状态
const hasOpenId = function(){
return ajax.post('/user/hasOpenId',{});
}
// 解绑unopenId
const UnOpenId = function(){
return ajax.post('/user/UnOpenId',{});
}
export default {
userParentOrg,
findOrgsByKeyword,
@@ -107,5 +115,7 @@ export default {
modifyPassword,
getInAudienceIds,
updateUser,
logout
logout,
hasOpenId,
UnOpenId
}