From 566345eaab9cdd3f448dbbc0f8a9e430364b5a31 Mon Sep 17 00:00:00 2001 From: Pu Zhibing <393733352@qq.com> Date: 星期三, 23 四月 2025 17:08:51 +0800 Subject: [PATCH] 修改测试bug --- ruoyi-service/ruoyi-dataInterchange/src/main/java/com/ruoyi/dataInterchange/server/DOWNPlaybackMsgStartupService.java | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ruoyi-service/ruoyi-dataInterchange/src/main/java/com/ruoyi/dataInterchange/server/DOWNPlaybackMsgStartupService.java b/ruoyi-service/ruoyi-dataInterchange/src/main/java/com/ruoyi/dataInterchange/server/DOWNPlaybackMsgStartupService.java index da6f776..512b056 100644 --- a/ruoyi-service/ruoyi-dataInterchange/src/main/java/com/ruoyi/dataInterchange/server/DOWNPlaybackMsgStartupService.java +++ b/ruoyi-service/ruoyi-dataInterchange/src/main/java/com/ruoyi/dataInterchange/server/DOWNPlaybackMsgStartupService.java @@ -38,7 +38,7 @@ * @param vehicleNo * @return */ - public R playbackMsgStartup(Integer inferiorPlatformId, String vehicleNo, Long startTime, Long endTime) { + public R<String> playbackMsgStartup(Integer inferiorPlatformId, String vehicleNo, Long startTime, Long endTime) { Channel channel = ChannelMap.getClientChannel(inferiorPlatformId); if (!channel.isActive()) { return R.fail("失败"); @@ -66,6 +66,6 @@ OuterPacket out = new OuterPacket(DataType.DOWN_PLAYBACK_MSG.getCode(), body); channel.writeAndFlush(out); log.info("远程录像回放请求({}):{}", DataType.DOWN_PLAYBACK_MSG_STARTUP.getCode(), JSON.toJSONString(downPlaybackMsgStartup)); - return R.ok(); + return R.ok(authorizeMsgStartup.getAuthorizeCode1()); } } -- Gitblit v1.7.1