package com.ycl.api; import com.ycl.platform.domain.param.UY.OsdMonitorParam; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; /** * 接收python接口推送的时钟准确 */ @RestController @RequestMapping("/api") public class PythonController { @PostMapping("/videoClock") public void videoClock(@RequestBody OsdMonitorParam param) { //存储python推送视频时钟信息 } }