Pārlūkot izejas kodu

修改 重定向url

test
chenJinxu pirms 5 mēnešiem
vecāks
revīzija
fd428cd848
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. +1
    -1
      src/views/card-info/index.vue

+ 1
- 1
src/views/card-info/index.vue Parādīt failu

@@ -184,7 +184,7 @@ export default {
},
getWxCode() {
let params = this.params;
let commonUrl = process.env.VUE_APP_BASE_API;
let commonUrl = process.env.NODE_ENV === "production" ? process.env.VUE_APP_BASE_API : 'https://id.gdssjl.com';
let redUrl = encodeURIComponent(`${commonUrl}/h5-frontendweb/#/cardInfo?imei=${params.imei}&iccid=${params.iccid}`);
let url = `https://open.weixin.qq.com/connect/oauth2/authorize?appid=${AppId}&redirect_uri=${redUrl}&response_type=code&scope=snsapi_base&state=STATE#wechat_redirect`;
window.location.href = url;


Notiek ielāde…
Atcelt
Saglabāt