龚焕茏
2024-08-23 5ab636a4f38353a278ea1b99afdbec9d4f3eeac9
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推送视频时钟信息
 
    }
}