🦀️ fix: 修复bug

This commit is contained in:
wangsongsole 2024-02-05 11:51:19 +08:00
parent 2486e4be99
commit 70446f9de4
1 changed files with 10 additions and 0 deletions

View File

@ -209,6 +209,7 @@
} }
if (item.channel == 1) { if (item.channel == 1) {
if (item.goods.entity.receive_mode === 2) { if (item.goods.entity.receive_mode === 2) {
item.goods.available = 1;
/* H5 领取 */ /* H5 领取 */
sessionStorage.setItem( sessionStorage.setItem(
"goodsInfo", "goodsInfo",
@ -259,6 +260,15 @@
location.replace(data.redirect_url); location.replace(data.redirect_url);
} }
} }
if (item.channel == 3) {
item.goods.available = 1;
/* H5 领取 */
sessionStorage.setItem(
"goodsInfo",
JSON.stringify(item.goods)
);
location.href = "./ysf-reduce.html";
}
} }
/* 红包领取 */ /* 红包领取 */