Skip to content

Commit 0d305c7

Browse files
committed
进一步重构社交登陆的实现
1 parent 2b366d9 commit 0d305c7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/api/system/socialUser.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ export function socialBind(type, code, state) {
1414
}
1515

1616
// 取消社交绑定
17-
export function socialUnbind(type, unionId) {
17+
export function socialUnbind(type, openid) {
1818
return request({
1919
url: '/system/social-user/unbind',
2020
method: 'delete',
2121
data: {
2222
type,
23-
unionId
23+
openid
2424
}
2525
})
2626
}

0 commit comments

Comments
 (0)