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