修改认证参数为110
This commit is contained in:
@@ -585,7 +585,7 @@
|
||||
},
|
||||
// 认证登录
|
||||
async certifyLogin(){
|
||||
let type = '100'
|
||||
let type = '110'
|
||||
let redirectUri = location.origin + '/pages/login/index?' + encodeURIComponent(`type=${type}&redirect=/`)
|
||||
const res = await socialAuthRedirect(type,encodeURIComponent(redirectUri))
|
||||
console.log(res,'res-------')
|
||||
@@ -593,7 +593,7 @@
|
||||
},
|
||||
async exchangeToken(options) {
|
||||
try {
|
||||
const type = '100'
|
||||
const type = '110'
|
||||
const code = options?.code
|
||||
const state =options?.state || this.uuid()
|
||||
const res = await socialLogin(type, code, state)
|
||||
|
||||
Reference in New Issue
Block a user