diff --git a/combining.html b/combining.html index 1010774..ea0fc15 100644 --- a/combining.html +++ b/combining.html @@ -152,13 +152,6 @@ /* ******************************************** 官方领取 ******************************************** */ /* 直接领取 */ directSubmit () { - /* 公众号打开 */ - if (this.goods.group_info.channel == 2 && this.goods.group_info.is_webview == 1 && !this.openId) { - const linkId = localStorage.getItem('linkId'); - location.href = `https://openapi.1688sup.com/wechat/oauth?jump=${location.origin}/${linkId}/${this.key}`; - return; - } - const data = { key: this.key, token: this.token, diff --git a/coupon/myOrder.html b/coupon/myOrder.html index 0b08603..60f518a 100644 --- a/coupon/myOrder.html +++ b/coupon/myOrder.html @@ -353,14 +353,6 @@ //微信 if (res.goods.channel == 2) { - /* 公众号打开 */ - if (res.goods.is_webview == 1 && !this.openId) { - const linkId = localStorage.getItem('linkId'); - const key = localStorage.getItem('key'); - location.href = `https://openapi.1688sup.com/wechat/oauth?jump=${location.origin}/${linkId}/${key}`; - return; - } - if (res.goods.is_webview == 1) { /* 公众号 */ this.publicCollection(res.code_batch_id); diff --git a/paysuccess.html b/paysuccess.html index 65055dc..956bd3c 100644 --- a/paysuccess.html +++ b/paysuccess.html @@ -199,14 +199,6 @@ this.toLinkAlipay(); } if (this.plaflam == 2) { - /* 公众号打开 */ - if (this.is_webview == 1 && !this.openId) { - const linkId = localStorage.getItem('linkId'); - const key = localStorage.getItem('key'); - location.href = `https://openapi.1688sup.com/wechat/oauth?jump=${location.origin}/${linkId}/${key}`; - return; - } - if (this.is_webview == 1) { /* 公众号 */ this.publicCollection(); diff --git a/reduce.html b/reduce.html index fdce5c2..c31c96f 100644 --- a/reduce.html +++ b/reduce.html @@ -189,14 +189,6 @@ } }, receiveFn () { - /* 公众号打开 */ - if (this.goodInfo.entity.channel == 2 && this.goodInfo.entity.is_webview == 1 && !this.openId) { - const key = localStorage.getItem('key'); - const linkId = localStorage.getItem('linkId'); - location.href = `https://openapi.1688sup.com/wechat/oauth?jump=${location.origin}/${linkId}/${key}`; - return; - } - if (this.loading) return; this.loading = true; let self = this;