fix 修复 前端参数漏改导致三方跳转失败问题

This commit is contained in:
疯狂的狮子Li 2023-06-21 16:08:50 +08:00 committed by Michelle.Chung
parent 7340997cf5
commit 3b4950e0e3

View File

@ -69,10 +69,11 @@ export function getCodeImg(): AxiosPromise<VerifyCodeResult> {
export function socialLogin(source: string, code: any, state: any): AxiosPromise<any> {
const data = {
code,
state
state,
source
};
return request({
url: '/auth/social-login/' + source,
url: '/auth/social-login',
method: 'get',
params: data
});