From 251a533b9c12e7d423b31473721a59580cab5b58 Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期六, 25 七月 2020 13:07:13 +0800 Subject: [PATCH] 将商品服务剥离出主项目 --- fanli/src/main/java/com/yeshi/fanli/util/cache/HttpGoodsCacheManager.java | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/util/cache/HttpGoodsCacheManager.java b/fanli/src/main/java/com/yeshi/fanli/util/cache/HttpGoodsCacheManager.java index 7182d6e..7e1e5ee 100644 --- a/fanli/src/main/java/com/yeshi/fanli/util/cache/HttpGoodsCacheManager.java +++ b/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; @@ -105,10 +106,10 @@ List<CommonContentNav> navList = commonTemplateContentService.getNavList(type); 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++) { -- Gitblit v1.8.0