Commit a44adcab437241f2cf13e9eac631b29ee140e271

Authored by 648540858
Committed by GitHub
2 parents 59d8f2f9 e9a48e53

Merge pull request #976 from dodu2014/wvp-28181-2.0

fix: 修复请求截图api生成文件名称的异常 #975
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);
... ...