1078-存储多媒体数据上传接口优化

This commit is contained in:
648540858
2024-05-19 17:08:31 +08:00
parent 6af9b8da1f
commit dcc20d0d15
4 changed files with 63 additions and 11 deletions

View File

@@ -34,7 +34,6 @@ public class J0801 extends Re {
@Override
protected Rs decode0(ByteBuf buf, Header header, Session session) {
mediaEventInfo = JTMediaEventInfo.decode(buf);
System.out.println(mediaEventInfo.getId());
ByteBuf byteBuf = buf.readSlice(28);
positionBaseInfo = JTPositionBaseInfo.decode(byteBuf);
String fileName = "mediaEvent/" + mediaEventInfo.getId() + ".";
@@ -72,7 +71,7 @@ public class J0801 extends Re {
log.info("[JT-多媒体数据上传] 写入文件失败", e);
}
log.info("[JT-多媒体数据上传]: {}", mediaEventInfo);
// SessionManager.INSTANCE.response(header.getTerminalId(), "0801", null, mediaEventInfo);
SessionManager.INSTANCE.response(header.getTerminalId(), "0801", null, mediaEventInfo);
return null;
}