浏览代码

修改 重定向url

test
chenJinxu 5 个月前
父节点
当前提交
fd428cd848
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      src/views/card-info/index.vue

+ 1
- 1
src/views/card-info/index.vue 查看文件

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


正在加载...
取消
保存