Merge branch 'wq' of SH-Arbitrate/Arbitrate-Backend into dev

This commit was merged in pull request #338.
This commit is contained in:
2024-02-28 09:40:24 +08:00
committed by Gitea
@@ -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