yujian
2020-04-15 c6b718c3cadf5e5fff4c2a47fd1247842439f8c7
fanli/src/main/java/com/yeshi/fanli/service/impl/brand/BrandClassShopServiceImpl.java
@@ -369,8 +369,8 @@
   }
   @Override
   @Cacheable(value = "brandCache", key = "'listEffectiveCacheV2-'+#page+'-'+#cid")
   public JSONObject listEffectiveCacheV2(int page, Long cid) {
   @Cacheable(value = "brandCache", key = "'listEffectiveCacheV2-'+#page+'-'+#cid+'-'+#platform+'-'+#version")
   public JSONObject listEffectiveCacheV2(int page, Long cid,String platform,String version) {
      long countShop = 0;
      if (cid != null && cid <= 0) {
@@ -431,9 +431,7 @@
         count = taoBaoShopService.countBrandShopinfo(cid);
      }
      BigDecimal fanLiRate = hongBaoManageService.getFanLiRate();
      BigDecimal shareRate = hongBaoManageService.getShareRate();
      ConfigParamsDTO paramsDTO = new ConfigParamsDTO(fanLiRate, shareRate, Constant.MAX_REWARD_RATE,hongBaoManageService.getVIPFanLiRate());
      ConfigParamsDTO paramsDTO =    hongBaoManageService.getShowComputeRate(platform, version);
      // 淘宝商品信息过滤
      Map<Long, TaoBaoGoodsBrief> goodsMap = getFilterTaoBaoGoods(listInfo);
@@ -528,7 +526,7 @@
   
   @Override
   public List<TaoBaoShopVO> listEffectiveShop(long start, int count, Long cid) {
   public List<TaoBaoShopVO> listEffectiveShop(long start, int count, Long cid,String platform,String version) {
      if (cid != null && cid <= 0) {
         cid = null;
      }
@@ -538,9 +536,8 @@
         return listInfo;
      
      BigDecimal fanLiRate = hongBaoManageService.getFanLiRate();
      BigDecimal shareRate = hongBaoManageService.getShareRate();
      ConfigParamsDTO paramsDTO = new ConfigParamsDTO(fanLiRate, shareRate, Constant.MAX_REWARD_RATE,hongBaoManageService.getVIPFanLiRate());
      ConfigParamsDTO paramsDTO =
            hongBaoManageService.getShowComputeRate(platform, version);
      // 淘宝商品信息过滤
      Map<Long, TaoBaoGoodsBrief> goodsMap = getFilterTaoBaoGoods(listInfo);