admin
2020-07-29 c338aa60df58bee9f4c25afedf94fe6930a119c1
fanli/src/main/java/com/yeshi/fanli/util/cache/HttpGoodsCacheManager.java
@@ -9,6 +9,7 @@
import javax.annotation.Resource;
import com.yeshi.fanli.entity.SystemEnum;
import org.springframework.stereotype.Component;
import org.yeshi.utils.HttpUtil;
@@ -102,13 +103,13 @@
      CommonContentTypeEnum[] types = CommonContentTypeEnum.values();
      for (int p = 1; p < 3; p++) {
         for (CommonContentTypeEnum type : types) {
            List<CommonContentNav> navList = commonTemplateContentService.getNavList(type);
            List<CommonContentNav> navList = commonTemplateContentService.getNavList(type,SystemEnum.blks);
            if (navList != null && navList.size() > 0)
               for (CommonContentNav nav : navList) {
                  commonTemplateContentService.getContentList(type, nav.getCid(), p, 50);
                  commonTemplateContentService.getContentList(type, nav.getCid(), p, 50, SystemEnum.blks);
               }
            else {
               commonTemplateContentService.getContentList(type, null, p, 50);
               commonTemplateContentService.getContentList(type, null, p, 50, SystemEnum.blks);
            }
         }
      }
@@ -157,7 +158,7 @@
   // 触发品牌商品列表
   public void requestBrandGoods() {
      List<BrandClass> list = brandClassService.listBrandClassEffectiveCache();
      List<BrandClass> list = brandClassService.listBrandClassEffectiveCache(null);
      list.add(new BrandClass(0L));
      list.addAll(list);
      for (int p = 1; p < 5; p++) {