Authored by 阿达

修改salebrand 逻辑

... ... @@ -159,7 +159,9 @@ exports.getSaleIndexData = (channel) => {
// 折扣专场活动处理
if (result[1].code === 200) {
finalResult.brandSale = saleHandler.handleSaleActivityData(result[1].data, channel);
if (result[1].data.length > 0) {
finalResult.brandSale = saleHandler.handleSaleActivityData(result[1].data, channel);
}
} else {
logger.error('discount activities api code no 200');
}
... ...