From 7fe73fc1cc71b6dc85ec7e4fdaed01b995934284 Mon Sep 17 00:00:00 2001 From: liriming <1343021927@qq.com> Date: 星期二, 18 三月 2025 16:26:30 +0800 Subject: [PATCH] 预测数据接口 --- ansteel-biz/src/main/java/com/iailab/module/ansteel/api/controller/McsController.java | 3 +-- ansteel-api/src/main/java/com/iailab/module/api/mcs/AnSteelApi.java | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/ansteel-api/src/main/java/com/iailab/module/api/mcs/AnSteelApi.java b/ansteel-api/src/main/java/com/iailab/module/api/mcs/AnSteelApi.java index 9a35b3b..3082460 100644 --- a/ansteel-api/src/main/java/com/iailab/module/api/mcs/AnSteelApi.java +++ b/ansteel-api/src/main/java/com/iailab/module/api/mcs/AnSteelApi.java @@ -30,7 +30,7 @@ List<PowerRunStateDTO> getPowerRunState(); @PostMapping(PREFIX + "/predict-data/charts") - @Operation(summary = "预测数据图表T+30/60/120") + @Operation(summary = "预测数据图表") PreDataChartRespVO getPreDataChart(@RequestBody PreDataSingleChartReqVO reqVO); } \ No newline at end of file diff --git a/ansteel-biz/src/main/java/com/iailab/module/ansteel/api/controller/McsController.java b/ansteel-biz/src/main/java/com/iailab/module/ansteel/api/controller/McsController.java index e0ac3af..650a9f5 100644 --- a/ansteel-biz/src/main/java/com/iailab/module/ansteel/api/controller/McsController.java +++ b/ansteel-biz/src/main/java/com/iailab/module/ansteel/api/controller/McsController.java @@ -44,8 +44,7 @@ @PostMapping("/predict-data/charts") @Operation(summary = "预测数据图表") - public CommonResult<PreDataChartRespVO> getPreDataChart(HttpServletResponse response, HttpServletRequest - request, @RequestBody PreDataSingleChartReqVO reqVO) throws Exception { + public CommonResult<PreDataChartRespVO> getPreDataChart(HttpServletResponse response, HttpServletRequest request, @RequestBody PreDataSingleChartReqVO reqVO) throws Exception { apiSecurityUtils.validate(request); PreDataChartRespVO respVO = anSteelApi.getPreDataChart(reqVO); return CommonResult.success(respVO); -- Gitblit v1.9.3