增加三方登陆的 redirect uri

This commit is contained in:
YunaiV
2021-10-02 00:06:54 +08:00
parent 23888c5a49
commit a56b4a7c9c
22 changed files with 258 additions and 840 deletions

View File

@ -40,9 +40,9 @@ export function getCodeImg() {
}
// 接入第三方登录
export function oAuthLogin(provider) {
export function oAuthLogin(type, redirectUri) {
return request({
url: '/auth2/authorization/' + provider,
url: '/third-login-redirect?type=' + type + '&redirectUri=' + redirectUri,
method: 'get'
})
}