Commit e9a48e5303e0b2ff69f41fbf7932de896eb85aa8
1 parent
59d8f2f9
fix: 修复请求截图api生成文件名称的异常
Showing
1 changed file
with
1 additions
and
1 deletions
src/main/java/com/genersoft/iot/vmp/vmanager/gb28181/play/PlayController.java
| ... | ... | @@ -359,7 +359,7 @@ public class PlayController { |
| 359 | 359 | message.setKey(key); |
| 360 | 360 | message.setId(uuid); |
| 361 | 361 | |
| 362 | - String fileName = deviceId + "_" + channelId + "_" + DateUtil.getNowForUrl() + "jpg"; | |
| 362 | + String fileName = deviceId + "_" + channelId + "_" + DateUtil.getNowForUrl() + ".jpg"; | |
| 363 | 363 | playService.getSnap(deviceId, channelId, fileName, (code, msg, data) -> { |
| 364 | 364 | if (code == InviteErrorCode.SUCCESS.getCode()) { |
| 365 | 365 | message.setData(data); | ... | ... |