fix: 三方登录未携带租户

This commit is contained in:
xingyu
2022-12-06 21:30:44 +08:00
parent 2513bbf02d
commit c720b1dff9
3 changed files with 110 additions and 63 deletions

View File

@ -57,7 +57,7 @@ export const smsLoginApi = (data: SmsLoginVO) => {
}
// 社交授权的跳转
export const socialAuthRedirectApi = (type: string, redirectUri: string) => {
export const socialAuthRedirectApi = (type: number, redirectUri: string) => {
return request.get({
url: '/system/auth/social-auth-redirect?type=' + type + '&redirectUri=' + redirectUri
})