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/testData,发送消息为testPlanId") public Response doc(){ return new Response().setMsg(1,"查看接口描述"); } @GetMapping() @ApiOperation("获取历史数据") public Response getHistoryData(@RequestParam Integer testPlanId){