From 6840c2d43c3c0a9034dff6b57bf0d0053238eca9 Mon Sep 17 00:00:00 2001
From: puzhibing <393733352@qq.com>
Date: 星期五, 23 五月 2025 16:06:34 +0800
Subject: [PATCH] 修改公交公司的事件订阅功能

---
 ruoyi-service/ruoyi-dataInterchange/src/main/java/com/ruoyi/dataInterchange/model/UPCloseLinkInform.java |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/ruoyi-service/ruoyi-dataInterchange/src/main/java/com/ruoyi/dataInterchange/model/UPCloseLinkInform.java b/ruoyi-service/ruoyi-dataInterchange/src/main/java/com/ruoyi/dataInterchange/model/UPCloseLinkInform.java
index 6c39e83..32d66b7 100644
--- a/ruoyi-service/ruoyi-dataInterchange/src/main/java/com/ruoyi/dataInterchange/model/UPCloseLinkInform.java
+++ b/ruoyi-service/ruoyi-dataInterchange/src/main/java/com/ruoyi/dataInterchange/model/UPCloseLinkInform.java
@@ -22,7 +22,11 @@
 	 * 解析报文
 	 */
 	public UPCloseLinkInform decode(ByteBuf byteBuf) {
-		this.reasonCode = byteBuf.readByte();
+		try {
+			this.reasonCode = byteBuf.readByte();
+		}catch (Exception e){
+			e.printStackTrace();
+		}
 		return this;
 	}
 }

--
Gitblit v1.7.1