优化消息推送、优化事件处理

This commit is contained in:
xy
2024-11-06 10:54:37 +08:00
parent 851404f62d
commit e7412d916a
2 changed files with 10 additions and 6 deletions

View File

@@ -110,7 +110,7 @@ public class EventServiceImpl implements IEventService {
csEvent.setType(1);
} else if (Objects.equals(item.getType(),"1")){
csEvent.setType(2);
lineId = new Gson().fromJson(String.valueOf(redisUtil.getObjectByKey(AppRedisKey.LINE_POSITION+appEventMessage.getId())), Map.class).get("0").toString();
//lineId = new Gson().fromJson(String.valueOf(redisUtil.getObjectByKey(AppRedisKey.LINE_POSITION+appEventMessage.getId())), Map.class).get(appEventMessage.getId()).toString();
csEvent.setClDid(appEventMessage.getMsg().getClDid());
}
csEvent.setLevel(Integer.parseInt(item.getType()));