From e1a62ec62e7331d97af9302e90e1ce44af8235eb Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期三, 27 一月 2021 15:26:55 +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 9be0f7b..a3fb981 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; @@ -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); } } } -- Gitblit v1.8.0