下载调整

This commit is contained in:
shikong 2023-09-21 15:35:08 +08:00
parent edf174c2f5
commit 0ce07bbcfe

View File

@ -30,8 +30,8 @@ public class VideoReq {
@JsonFormat(pattern = DatePattern.PURE_DATETIME_PATTERN)
private Date endTime;
@Schema(description = "http 头是否需要文件名")
private Boolean fileHeader = false;
@Schema(description = "http 头是否需要文件名 (没有文件名时浏览器会试图直接播放,会导致短时间内重复访问同一设备,导致失败)")
private Boolean fileHeader = true;
public void setDevice_id(String deviceCode){
this.deviceCode = deviceCode;