puzhibing
2025-06-03 f58d0913c810c68c550e5b12da64dbdeb0d0c1f0
ruoyi-service/ruoyi-dataInterchange/src/main/java/com/ruoyi/dataInterchange/model/UPDisconnectReq.java
@@ -26,8 +26,12 @@
    * 解析报文
    */
   public UPDisconnectReq decode(ByteBuf byteBuf) {
      this.userId = byteBuf.readInt();
      this.password = Jtt809Util.readGBKString(byteBuf, 12);
      try {
         this.userId = byteBuf.readInt();
         this.password = Jtt809Util.readGBKString(byteBuf, 12);
      }catch (Exception e){
         e.printStackTrace();
      }
      return this;
   }
}