Showing
1 changed file
with
2 additions
and
0 deletions
@@ -159,7 +159,9 @@ exports.getSaleIndexData = (channel) => { | @@ -159,7 +159,9 @@ exports.getSaleIndexData = (channel) => { | ||
159 | 159 | ||
160 | // 折扣专场活动处理 | 160 | // 折扣专场活动处理 |
161 | if (result[1].code === 200) { | 161 | if (result[1].code === 200) { |
162 | + if (result[1].data.length > 0) { | ||
162 | finalResult.brandSale = saleHandler.handleSaleActivityData(result[1].data, channel); | 163 | finalResult.brandSale = saleHandler.handleSaleActivityData(result[1].data, channel); |
164 | + } | ||
163 | } else { | 165 | } else { |
164 | logger.error('discount activities api code no 200'); | 166 | logger.error('discount activities api code no 200'); |
165 | } | 167 | } |
-
Please register or login to post a comment