fix: 修复支付宝和微信

This commit is contained in:
zhangds 2024-02-29 11:21:21 +08:00
parent 168878be62
commit c5cfee99c7
1 changed files with 14 additions and 4 deletions

View File

@ -161,7 +161,6 @@
const gotoHomePage = (goods) => {
debugger
// 判断是不是官方领取 是官方领取 返回true 不是返回false
// 必须是立减金和红包
if (goods.type !== 1) {
@ -176,8 +175,13 @@
return false
}
} else {
// 2微信 3云闪付
return true
if (goods.entity.channel === 2) {
return true
}
if (goods.entity.channel === 3) {
return false
}
}
}
@ -192,7 +196,13 @@
}
} else {
// 2微信 3云闪付
return true
if (goods.entity.channel === 2) {
return true
}
if (goods.entity.channel === 3) {
return false
}
}
}
} else {