Explorar el Código

微信登录

西昌缴费二期
杨晓琪 hace 2 años
padre
commit
eb145c8493
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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 Ver fichero

@@ -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";
})
}
},


Cargando…
Cancelar
Guardar