Merge branch 'dev' of http://git.xayunmei.com/SH-Arbitrate/Arbitrate-Backend into qtz5
This commit is contained in:
+9
-3
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user