xiangpei
2024-08-16 983b100e79431dea9a471168dae451d2f7399b76
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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推送视频时钟信息
 
    }
}