fix 修复 前端参数漏改导致三方跳转失败问题
This commit is contained in:
parent
7340997cf5
commit
3b4950e0e3
@ -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
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user