package com.securitycontrol.screen.controller;

import com.securitycontrol.common.core.web.domain.AjaxResult;
import com.securitycontrol.entity.screen.dto.ScreenParamDto;
import com.securitycontrol.screen.service.IVideoService;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;


/**
 * @author：cwchen
 * @date：2024-04-01-10:01
 * @version：1.0
 * @description：视频监控
 */
@RestController
@RequestMapping("/largeScreen/video/")
public class VideoController {

    @Resource(name = "IVideoService")
    private IVideoService service;

    @ApiOperation(value = "视频树")
    @GetMapping("getVideoTree")
    public AjaxResult getVideoTree(ScreenParamDto dto){
        return service.getVideoTree(dto);
    }
}
