mirror of
https://gitee.com/hhyykk/ipms-sjy.git
synced 2025-07-13 10:35:07 +08:00
进一步重构社交登陆的实现
This commit is contained in:
@ -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
|
||||
}
|
||||
})
|
||||
}
|
||||
|
Reference in New Issue
Block a user