package com.whyc.controller; import com.whyc.dto.Response; import com.whyc.service.DMTestService; import com.whyc.service.EasyDarwinService; import io.swagger.annotations.Api; 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; @Api(tags = "摄像头转码信息") @RestController @RequestMapping("EasyDarwin") public class EasyDarwinController { @Resource private EasyDarwinService service; @GetMapping("getFlowInfo") @ApiOperation("获取摄像头转码信息") public Response getFlowInfo(){ return service.getFlowInfo(); } }