Browse Source

fix 去掉ip实物过滤

zoujiajian 2 years ago
parent
commit
b11a3e01dc

+ 8 - 8
netflix-web/src/main/java/com/cyksj/web/controller/goods/GoodsDonController.java

@@ -551,10 +551,10 @@ public class GoodsDonController {
 //		List<Long> filter_goodsIds = getFilterGoodsIds();
 		List<Long> filter_goodsIds = null;
 		AtomicBoolean isRemoveRg = new AtomicBoolean(false);
-		if (isHzIp()) {
-			key += ":hz-ip";
-			isRemoveRg.set(true);
-		}
+//		if (isHzIp()) {
+//			key += ":hz-ip";
+//			isRemoveRg.set(true);
+//		}
 		Long fUid = StpUserUtil.getUserIdAfterLogin();
 		Object o = redisService.get(key);
 		if (o == null) {
@@ -1107,10 +1107,10 @@ public class GoodsDonController {
 		String key = RedisService.key.YH_HOME_PAGHE_CACHE.getEnvName() + "pc:homeManage";
 		//移除奈飞客厅 临时
 		Long filterConfigId = null;
-		if (isHzIp()) {
-			key += ":hz_ip";
-			filterConfigId = 55l;
-		}
+//		if (isHzIp()) {
+//			key += ":hz_ip";
+//			filterConfigId = 55l;
+//		}
 		Object o = redisService.get(key);
 		if (o == null) {
 			MapBuilder builder = MapUtils.builder()