whyczh
2021-04-07 4992d0ea3fb6adaba4331fda37c43e8f0d00a458
src/main/java/com/whyc/controller/TestDataController.java
@@ -34,6 +34,12 @@
    @Autowired
    private DeviceInfService deviceInfService;
    @GetMapping("ws")
    @ApiOperation(value="查询webSocket",protocols = "ws",notes = "接口:ws://localhost:8090/websocket,发送消息为testPlanId")
    public Response doc(){
        return new Response().setMsg(1,"查看接口描述");
    }
    @GetMapping()
    @ApiOperation("获取历史数据")
    public Response getHistoryData(@RequestParam Integer testPlanId){