进一步重构社交登陆的实现

This commit is contained in:
YunaiV
2022-04-27 00:35:59 +08:00
parent 7227664f77
commit c402077961
18 changed files with 115 additions and 122 deletions

View File

@ -14,13 +14,13 @@ export function socialBind(type, code, state) {
}
// 取消社交绑定
export function socialUnbind(type, unionId) {
export function socialUnbind(type, openid) {
return request({
url: '/system/social-user/unbind',
method: 'delete',
data: {
type,
unionId
openid
}
})
}