添加qq登录
This commit is contained in:
parent
8520e5567a
commit
c0d2f24c65
@ -702,6 +702,8 @@ export default {
|
||||
duration: 5000
|
||||
})
|
||||
}
|
||||
} else if (type === 'qq') {
|
||||
window.location.href = 'https://graph.qq.com/oauth2.0/authorize?response_type=code&client_id=101000700&redirect_uri=' + decodeURIComponent('https://www.wyr.me/auth') + '&state=qq-' + this.postID
|
||||
} else if (type === 'weibo') {
|
||||
window.location.href = 'https://api.weibo.com/oauth2/authorize?client_id=4159322735&redirect_uri=https://wyr.me/auth&response_type=code&state=weibo-' + this.postID
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user