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

fix: 修复请求截图api生成文件名称的异常 #975
This commit is contained in:
648540858 2023-07-31 17:01:10 +08:00 committed by GitHub
commit a44adcab43
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -359,7 +359,7 @@ public class PlayController {
message.setKey(key);
message.setId(uuid);
String fileName = deviceId + "_" + channelId + "_" + DateUtil.getNowForUrl() + "jpg";
String fileName = deviceId + "_" + channelId + "_" + DateUtil.getNowForUrl() + ".jpg";
playService.getSnap(deviceId, channelId, fileName, (code, msg, data) -> {
if (code == InviteErrorCode.SUCCESS.getCode()) {
message.setData(data);