Commit 128a59c3 authored by suntengda's avatar suntengda

add 拼单小程序活动列表新版接口 拼单活动推荐位接口修改

parent 2fa8db99
...@@ -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