Showing
1 changed file
with
2 additions
and
2 deletions
@@ -301,7 +301,7 @@ exports.getSaleOthersData = (params, channel) => { | @@ -301,7 +301,7 @@ exports.getSaleOthersData = (params, channel) => { | ||
301 | if (result[2].code === 200) { | 301 | if (result[2].code === 200) { |
302 | finalResult.topBanner = saleHandler.handleSaleBannerData(result[2].data); | 302 | finalResult.topBanner = saleHandler.handleSaleBannerData(result[2].data); |
303 | if (params.saleType !== '2') { | 303 | if (params.saleType !== '2') { |
304 | - _.forEach(finalResult.topBanner.list, (value,key) => { | 304 | + _.forEach(finalResult.topBanner.list, (value, key) => { |
305 | delete finalResult.topBanner.list[key].href; | 305 | delete finalResult.topBanner.list[key].href; |
306 | }); | 306 | }); |
307 | } | 307 | } |
@@ -455,7 +455,7 @@ exports.getSalebreakingYardsData = (params, channel) => { | @@ -455,7 +455,7 @@ exports.getSalebreakingYardsData = (params, channel) => { | ||
455 | // 处理 banner 数据 | 455 | // 处理 banner 数据 |
456 | if (result[1].code === 200) { | 456 | if (result[1].code === 200) { |
457 | finalResult.topBanner = saleHandler.handleSaleBannerData(result[1].data); | 457 | finalResult.topBanner = saleHandler.handleSaleBannerData(result[1].data); |
458 | - _.forEach(finalResult.topBanner.list, (value,key) => { | 458 | + _.forEach(finalResult.topBanner.list, (value, key) => { |
459 | delete finalResult.topBanner.list[key].href; | 459 | delete finalResult.topBanner.list[key].href; |
460 | }); | 460 | }); |
461 | } else { | 461 | } else { |
-
Please register or login to post a comment