添加qq登录

This commit is contained in:
yi-ge 2020-07-23 14:37:59 +08:00
parent 8520e5567a
commit c0d2f24c65

View File

@ -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 {