Commit 7e483a9c authored by jianghaiming's avatar jianghaiming

Merge branch 'test' of https://gitlab.yidian-inc.com/bp/goods into test

parents 57e60634 421772ac
...@@ -435,6 +435,9 @@ class MarketingService ...@@ -435,6 +435,9 @@ class MarketingService
if($excludeMarketingId && isset($list[$excludeMarketingId])){ if($excludeMarketingId && isset($list[$excludeMarketingId])){
unset($list[$excludeMarketingId]); unset($list[$excludeMarketingId]);
} }
if (empty($list)) {
return [];//排除后已无数据
}
//获取活动sku列表 //获取活动sku列表
if($needSkuList) { if($needSkuList) {
$skuList = self::getGoodsSkuListByMarketingIds(array_keys($list),false); $skuList = self::getGoodsSkuListByMarketingIds(array_keys($list),false);
......
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