Pārlūkot izejas kodu

微信登录

西昌缴费二期
杨晓琪 pirms 2 gadiem
vecāks
revīzija
eb145c8493
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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 Parādīt failu

@@ -144,7 +144,7 @@ export default {
if(!success){ if(!success){
return 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";
}) })
} }
}, },


||||||
x
 
000:0
Notiek ielāde…
Atcelt
Saglabāt