是否启用无插件播放

This commit is contained in:
guoshengxiong 2025-09-22 18:42:21 +08:00
parent 7b3b14f889
commit bc06c9daa1
2 changed files with 6 additions and 4 deletions

View File

@ -3,8 +3,6 @@ package com.zhgd.xmgl.modules.project.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
@ -90,5 +88,9 @@ public class ProjectVideoConfig implements Serializable {
@Excel(name = "大华clientSecret", width = 15)
@ApiModelProperty(value = "大华clientSecret")
private java.lang.String clientSecret;
/**
* 是否启用无插件播放1是0否
*/
@ApiModelProperty(value = "是否启用无插件播放1是0否")
private java.lang.Integer enableNotPlugin;
}

View File

@ -177,7 +177,7 @@ public class VideoItemController {
@ApiImplicitParams({
@ApiImplicitParam(name = "itemId", value = "视频记录ID", paramType = "body", required = true, dataType = "String"),
@ApiImplicitParam(name = "streamType", value = "2主码流不传子码流", paramType = "body", required = false, dataType = "String"),
@ApiImplicitParam(name = "type", value = "取流协议 rtsp、rtmp、hls不传默认hls", paramType = "body", required = false, dataType = "String"),
@ApiImplicitParam(name = "type", value = "取流协议 hik、rtsp、rtmp、hls、ws不传默认hls", paramType = "body", required = false, dataType = "String"),
})
@PostMapping("/getVideoItemInfo")
public Result<Map<String, Object>> getVideoItemInfo(@RequestBody Map<String, Object> map) {