yujian
2019-09-27 c1f208bb47427f36f556e27373f72f8e6f2587a8
品牌轮播图控制
1个文件已修改
4 ■■■■ 已修改文件
fanli/src/main/java/com/yeshi/fanli/controller/client/v2/BrandControllerV2.java 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
fanli/src/main/java/com/yeshi/fanli/controller/client/v2/BrandControllerV2.java
@@ -405,7 +405,7 @@
        JSONObject data = new JSONObject();
        if (page == 1) {
            // 2、顶部轮播图
            List<SwiperPicture> oldtopPicList = swiperPictureService.getByBannerCard("index_top");
            List<SwiperPicture> oldtopPicList = swiperPictureService.getByBannerCard("brand_picture");
            if (oldtopPicList != null && oldtopPicList.size() > 0)
                topPicList.addAll(oldtopPicList);
            TaoBaoShop taoBaoShop = taoBaoShopService.selectByPrimaryKey(id);
@@ -709,7 +709,7 @@
        if (page == 1 && array.size() > 0) {
            // 2、顶部轮播图
            List<SwiperPicture> topPicList = new ArrayList<>();
            List<SwiperPicture> oldtopPicList = swiperPictureService.getByBannerCard("index_top");
            List<SwiperPicture> oldtopPicList = swiperPictureService.getByBannerCard("brand_picture");
            if (oldtopPicList != null && oldtopPicList.size() > 0)
                topPicList.addAll(oldtopPicList);