🗑️ delete: 删除单独授权代码
This commit is contained in:
parent
230e6d9e90
commit
9ce586c4dc
|
@ -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,
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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();
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue