记得上下班打卡 | git大法好,push需谨慎

Commit 5e968db0 authored by 胡佳晨's avatar 胡佳晨

过滤盲盒 skuId

parent d541e6f1
......@@ -275,7 +275,9 @@ public class GoblinListServiceImpl implements IGoblinListService {
}
}
for (String relationSkuId : spuInfoVo.getSkuIdList()) {
redisUtils.addGoblinListRelationBox(itemVo.getSkuId(), vo.getListId(), relationSkuId);
if (redisUtils.getGoodsSkuInfoVo(relationSkuId).getUnbox().equals("0")) {
redisUtils.addGoblinListRelationBox(itemVo.getSkuId(), vo.getListId(), relationSkuId);
}
}
} else {//非盲盒逻辑
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment