Browse Source

修改 重定向url

test
chenJinxu 5 months ago
parent
commit
fd428cd848
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/views/card-info/index.vue

+ 1
- 1
src/views/card-info/index.vue View File

@@ -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;


Loading…
Cancel
Save