yujian
2020-05-23 28cf328a098334b51a3e9d2d56f983fb8c862211
fanli/src/main/java/com/yeshi/fanli/controller/client/v2/CommonContentControllerV2.java
@@ -40,6 +40,7 @@
import com.yeshi.fanli.util.taobao.TaoBaoUtil;
import com.yeshi.fanli.util.taobao.TaoKeApiUtil;
import com.yeshi.fanli.vo.goods.GoodsDetailVO;
import com.yeshi.fanli.vo.homemodule.BannerVO;
import net.sf.json.JSONArray;
import net.sf.json.JSONObject;
@@ -240,14 +241,14 @@
      JSONObject data = new JSONObject();
      if (page == 1) {
         // 2、顶部轮播图
         List<SwiperPicture> bannerList = null;
         List<BannerVO> bannerList = null;
         if (Constant.IS_TEST) {
            bannerList = swiperPictureService.getByBannerCardAndVersion("index_top", acceptData.getPlatform(),
                  Integer.parseInt(acceptData.getVersion()));
         }
         if (bannerList == null) {
            bannerList = new ArrayList<SwiperPicture>();
            bannerList = new ArrayList<BannerVO>();
         }
         data.put("bannerList", new Gson().toJson(bannerList));