Authored by Rock Zhang

当skc商品的status为0,即skc下架时就跳过该商品

Code Review By Rock Zhang
... ... @@ -175,6 +175,11 @@ class DetailModel
$colorStorageNum = 0;
$totalStorageNum = 0; // 总库存数
foreach ($baseInfo['goodsList'] as $value) {
// 如果status为0,即skc下架时就跳过该商品
if ($value['status'] === 0) {
continue;
}
$colorStorageNum = 0;
// 商品分组
... ...