|
|
@@ -132,7 +132,7 @@ export default { |
|
|
|
// 获取微信code |
|
|
|
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 isWhiteTitle = this.whiteTitleList.includes(this.currentIotTitle) > 0; |
|
|
|
let cardInfoBaseUrl = encodeURIComponent(`${commonUrl}/h5-frontendweb/#/cardInfo?imei=${params.imei}&iccid=${params.iccid}`); |
|
|
|
let toupBaseUrl = encodeURIComponent(`${commonUrl}/h5-frontendweb/#/${params.routerName}?imei=${params.imei}&iccid=${params.iccid}`); |
|
|
|