liwen
8 months ago
6 changed files with 102 additions and 11 deletions
@ -0,0 +1,36 @@ |
|||||||
|
package com.hnac.hzims.operational.video.dto; |
||||||
|
|
||||||
|
import io.swagger.annotations.ApiModel; |
||||||
|
import io.swagger.annotations.ApiModelProperty; |
||||||
|
import lombok.Data; |
||||||
|
|
||||||
|
import javax.validation.constraints.NotNull; |
||||||
|
|
||||||
|
@Data |
||||||
|
@ApiModel(value = "视频回放dto类") |
||||||
|
public class VideoPlaybackDTO { |
||||||
|
|
||||||
|
@NotNull |
||||||
|
@ApiModelProperty("监控点唯一标识") |
||||||
|
private String cameraIndexCode; |
||||||
|
|
||||||
|
@NotNull |
||||||
|
@ApiModelProperty("开始查询时间") |
||||||
|
private String beginTime; |
||||||
|
|
||||||
|
@NotNull |
||||||
|
@ApiModelProperty("结束查询时间") |
||||||
|
private String endTime; |
||||||
|
|
||||||
|
@NotNull |
||||||
|
@ApiModelProperty("http请求地址") |
||||||
|
private String host; |
||||||
|
|
||||||
|
@NotNull |
||||||
|
@ApiModelProperty("密钥id") |
||||||
|
private String appKey; |
||||||
|
|
||||||
|
@NotNull |
||||||
|
@ApiModelProperty("密钥") |
||||||
|
private String appSecret; |
||||||
|
} |
@ -1,8 +1,15 @@ |
|||||||
package com.hnac.hzims.operational.video.service; |
package com.hnac.hzims.operational.video.service; |
||||||
|
|
||||||
|
import com.hnac.hzims.operational.video.dto.VideoPlaybackDTO; |
||||||
import com.hnac.hzims.operational.video.entity.VideoPlatformEntity; |
import com.hnac.hzims.operational.video.entity.VideoPlatformEntity; |
||||||
import org.springblade.core.mp.base.BaseService; |
import org.springblade.core.mp.base.BaseService; |
||||||
|
|
||||||
public interface IVideoPlatformService extends BaseService<VideoPlatformEntity> { |
public interface IVideoPlatformService extends BaseService<VideoPlatformEntity> { |
||||||
|
|
||||||
|
/** |
||||||
|
* 查询视频回放 |
||||||
|
* @param dto 视频回放dto类 |
||||||
|
* @return 回放片段url |
||||||
|
*/ |
||||||
|
String getVideoPlayback(VideoPlaybackDTO dto); |
||||||
} |
} |
||||||
|
Loading…
Reference in new issue