Sfoglia il codice sorgente

微信登录

西昌缴费二期
杨晓琪 2 anni fa
parent
commit
eb145c8493
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/weixinLogin.vue

+ 1
- 1
Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/weixinLogin.vue Vedi File

@@ -144,7 +144,7 @@ export default {
if(!success){
return
}
window.location.href = "https://open.weixin.qq.com/connect/oauth2/authorize?appid=" + success.appid + "&redirect_uri=" + encodeURIComponent('http://' + window.location.host + '/pages/weixinLogin') + "&response_type=code&scope=snsapi_userinfo&state=STATE#wechat_redirect";
window.location.href = "https://open.weixin.qq.com/connect/oauth2/authorize?appid=" + success.appid + "&redirect_uri=" + encodeURIComponent('http://' + window.location.host + '/#/pages/weixinLogin') + "&response_type=code&scope=snsapi_userinfo&state=STATE#wechat_redirect";
})
}
},


Caricamento…
Annulla
Salva