This commit is contained in:
liuchengqian 2023-02-14 10:12:02 +08:00
parent 642327f88f
commit 27366b8826

View File

@ -35,6 +35,7 @@ public class DispatchFirePointUtils {
return true; return true;
} }
for (FirePointChannelConfigEntity firePointChannelConfigEntity : firePointChannelConfigEntityList) { for (FirePointChannelConfigEntity firePointChannelConfigEntity : firePointChannelConfigEntityList) {
try {
String jsonContent = firePointChannelConfigEntity.getJsonContent(); String jsonContent = firePointChannelConfigEntity.getJsonContent();
FirePointChannelConfigBean firePointChannelConfigBean = JsonUtils.deserialize(jsonContent, FirePointChannelConfigBean.class); FirePointChannelConfigBean firePointChannelConfigBean = JsonUtils.deserialize(jsonContent, FirePointChannelConfigBean.class);
if (FirePointChannelConfigBean.Precise.equals(firePointChannelConfigBean.getChannelName())) { if (FirePointChannelConfigBean.Precise.equals(firePointChannelConfigBean.getChannelName())) {
@ -104,6 +105,10 @@ public class DispatchFirePointUtils {
} }
} }
} }
} catch (Exception e) {
e.printStackTrace();
log.info("检查渠道配置时间失败,错误=" + e.getMessage() + ",原始内容=" + firePointChannelConfigEntity.getJsonContent());
}
} }
//没有因为遇到符合条件的情况提前退出就认为不属于精准渠道配置的时间范围之内 //没有因为遇到符合条件的情况提前退出就认为不属于精准渠道配置的时间范围之内
return false; return false;