zoujiajian hai 2 meses
pai
achega
f24fed0ef8

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

@@ -824,9 +824,6 @@ public class GoodsDonController {
 	}
 
 	public Boolean isFilterGoodsIds(Long userIdAfLogin, Boolean isFilter) {
-        if (true) {
-            return true;
-        }
 		//是否需要过滤特殊ip
 		if (isFilter != null && !isFilter) {
 			return false;
@@ -835,6 +832,9 @@ public class GoodsDonController {
 		//获取当前ip地址
 		String newestIpAddress = StringUtil.getNewestIpAddress(ServletUtil.getClientIP(request));
 		if (newestIpAddress.contains("杭州") || newestIpAddress.contains("北京")) {
+            if (true) {
+                return true;
+            }
 //		    //过滤杭州Ai ChatGPT平台
 //		    SysConfig sysConfig = sysConfigMapper.selectOne(Wrappers.lambdaQuery(SysConfig.class)
 //				    .eq(SysConfig::getSysKey, Constant.LOCATION_FOR_GOODS_IDS).last("limit 1"));