Files
zd_servicing/servicing
songzhiling f0f6810efd fix(servicing): 优化重复消息判断逻辑
- 修改 LastJPushBean 数据类,将 msg 类型从 String 改为 Int,使用 hashCode() 进行比较
- 使用纳秒级时间戳替代毫秒级时间戳,提高精度- 添加 DUPLICATE_MSG_THRESHOLD常量,用于定义重复消息的时间阈值
- 在 handlerPushMsg 函数中实现新的重复消息判断逻辑,提高效率
- 使用 @Synchronized 注解确保线程安全
2025-04-21 11:36:48 +08:00
..