diff --git a/pages/login/index.vue b/pages/login/index.vue index 7fa91db..648f41f 100644 --- a/pages/login/index.vue +++ b/pages/login/index.vue @@ -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)