fix 修复 前端参数漏改导致三方跳转失败问题
This commit is contained in:
parent
40e3bcb391
commit
13bb23c717
@ -67,10 +67,11 @@ export function getCodeImg(): AxiosPromise<VerifyCodeResult> {
|
|||||||
export function socialLogin(source: string, code: any, state: any): AxiosPromise<any> {
|
export function socialLogin(source: string, code: any, state: any): AxiosPromise<any> {
|
||||||
const data = {
|
const data = {
|
||||||
code,
|
code,
|
||||||
state
|
state,
|
||||||
|
source
|
||||||
};
|
};
|
||||||
return request({
|
return request({
|
||||||
url: '/auth/social-login/' + source,
|
url: '/auth/social-login',
|
||||||
method: 'get',
|
method: 'get',
|
||||||
params: data
|
params: data
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user