From c5cfee99c7c856b1a17d7d5a12d36cf7d449c634 Mon Sep 17 00:00:00 2001 From: zhangds Date: Thu, 29 Feb 2024 11:21:21 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E6=94=AF=E4=BB=98?= =?UTF-8?q?=E5=AE=9D=E5=92=8C=E5=BE=AE=E4=BF=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packkey/bm-index.html | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/packkey/bm-index.html b/packkey/bm-index.html index 83f7a75..3a50cd6 100644 --- a/packkey/bm-index.html +++ b/packkey/bm-index.html @@ -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 {