Authored by 郭成尧

'codeoptmztn'

... ... @@ -250,8 +250,9 @@ exports.getOutletsCategoryData = (params, channel) => {
if (!_.isEmpty(params.bannerImage)) {
finalResult.saleList.topBanner = {};
finalResult.saleList.topBanner.list = [];
finalResult.saleList.topBanner.list[0] = {};
finalResult.saleList.topBanner.list[0].img = params.bannerImage;
finalResult.saleList.topBanner.list[0] = {
img: params.bannerImage
};
}
return finalResult;
});
... ...