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 |    9 +++++----
 1 files changed, 5 insertions(+), 4 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..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);
 				}
 			}
 		}
@@ -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