Bläddra i källkod

Merge branch 'dev' of http://git.xayunmei.com/SH-Arbitrate/Arbitrate-Backend into qtz5

qitz 2 år sedan
förälder
incheckning
74112dc93b

+ 9
- 3
ruoyi-system/src/main/java/com/ruoyi/wisdomarbitrate/service/impl/VideoServiceImpl.java Visa fil

@@ -137,13 +137,17 @@ public class VideoServiceImpl implements VideoService {
137 137
                 try {
138 138
                     // 调解系统roomId>4294967294L/2
139 139
                     if(StrUtil.isNotEmpty(roomId)) {
140
-                        if (Integer.getInteger(roomId) > 4294967294L / 2) {
140
+                        log.debug("roomId:" + roomId);
141
+                        if (Long.valueOf(roomId) > 4294967294L / 2) {
142
+                            log.debug("调用调解系统:" );
143
+                            log.debug("回调jsonObject:"+jsonObject );
141 144
                             // 调用调解系统
142 145
                             cn.hutool.json.JSONObject params = JSONUtil.createObj();
143 146
                             params.set("roomId",roomId);
144 147
                             params.set("fileId",fileId);
145 148
                             params.set("videoUrl",videoUrl);
146
-                            HttpUtil.post("http://172.16.1.14:6001/video/videoRollBack",params.toJSONString(2));
149
+                            String post = HttpUtil.post("http://121.40.189.20:7001/video/videoRollBack", params.toJSONString(2));
150
+                            throw new RuntimeException(post);
147 151
 
148 152
                         } else {
149 153
                             downloadImage(fileId, videoUrl, roomId);
@@ -151,7 +155,7 @@ public class VideoServiceImpl implements VideoService {
151 155
                     }
152 156
 
153 157
                 } catch (IOException e) {
154
-                    throw new RuntimeException(e);
158
+                    throw new RuntimeException("roomId:"+roomId);
155 159
                 }
156 160
             }
157 161
 
@@ -188,6 +192,8 @@ public class VideoServiceImpl implements VideoService {
188 192
         return  success(caseAttachList);
189 193
     }
190 194
 
195
+
196
+
191 197
     /**
192 198
      * 开启腾讯云录制
193 199
      * @param roomId