From 5240926cd7665bcb9ed36b636ff190f3c34d3e52 Mon Sep 17 00:00:00 2001 From: 18792927508 <1322446236@qq.com> Date: Wed, 28 Feb 2024 09:36:31 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=86=E9=A2=91=E4=BC=9A=E8=AE=AE=E8=B0=83?= =?UTF-8?q?=E7=94=A8=E8=B0=83=E8=A7=A3=E7=B3=BB=E7=BB=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../service/impl/VideoServiceImpl.java | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/ruoyi-system/src/main/java/com/ruoyi/wisdomarbitrate/service/impl/VideoServiceImpl.java b/ruoyi-system/src/main/java/com/ruoyi/wisdomarbitrate/service/impl/VideoServiceImpl.java index cf2849f..a23c1a9 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/wisdomarbitrate/service/impl/VideoServiceImpl.java +++ b/ruoyi-system/src/main/java/com/ruoyi/wisdomarbitrate/service/impl/VideoServiceImpl.java @@ -137,13 +137,17 @@ public class VideoServiceImpl implements VideoService { try { // 调解系统roomId>4294967294L/2 if(StrUtil.isNotEmpty(roomId)) { - if (Integer.getInteger(roomId) > 4294967294L / 2) { + log.debug("roomId:" + roomId); + if (Long.valueOf(roomId) > 4294967294L / 2) { + log.debug("调用调解系统:" ); + log.debug("回调jsonObject:"+jsonObject ); // 调用调解系统 cn.hutool.json.JSONObject params = JSONUtil.createObj(); params.set("roomId",roomId); params.set("fileId",fileId); params.set("videoUrl",videoUrl); - HttpUtil.post("http://172.16.1.14:6001/video/videoRollBack",params.toJSONString(2)); + String post = HttpUtil.post("http://121.40.189.20:7001/video/videoRollBack", params.toJSONString(2)); + throw new RuntimeException(post); } else { downloadImage(fileId, videoUrl, roomId); @@ -151,7 +155,7 @@ public class VideoServiceImpl implements VideoService { } } catch (IOException e) { - throw new RuntimeException(e); + throw new RuntimeException("roomId:"+roomId); } } @@ -188,6 +192,8 @@ public class VideoServiceImpl implements VideoService { return success(caseAttachList); } + + /** * 开启腾讯云录制 * @param roomId -- 2.54.0