From 977edcb50e46f57d5b8fdd4551736b1605fef6fc Mon Sep 17 00:00:00 2001
From: 潘志宝 <979469083@qq.com>
Date: 星期二, 19 十一月 2024 13:15:02 +0800
Subject: [PATCH] 预测数据查询

---
 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/api/controller/admin/McsApiController.java |   11 +----------
 1 files changed, 1 insertions(+), 10 deletions(-)

diff --git a/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/api/controller/admin/McsApiController.java b/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/api/controller/admin/McsApiController.java
index 73ae82f..79e2d5b 100644
--- a/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/api/controller/admin/McsApiController.java
+++ b/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/api/controller/admin/McsApiController.java
@@ -2,8 +2,6 @@
 
 import com.iailab.framework.apilog.core.annotation.ApiAccessLog;
 import com.iailab.framework.common.pojo.CommonResult;
-import com.iailab.framework.excel.core.util.ExcelUtils;
-import com.iailab.module.data.api.point.dto.ApiPointValueQueryDTO;
 import com.iailab.module.model.api.mcs.McsApi;
 import com.iailab.module.model.api.mcs.dto.*;
 import com.iailab.module.model.common.utils.ApiSecurityUtils;
@@ -12,7 +10,6 @@
 import io.swagger.v3.oas.annotations.tags.Tag;
 import lombok.extern.slf4j.Slf4j;
 import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.security.access.prepost.PreAuthorize;
 import org.springframework.web.bind.annotation.*;
 
 import javax.annotation.Resource;
@@ -21,9 +18,7 @@
 import javax.servlet.http.HttpServletResponse;
 import java.io.IOException;
 import java.text.SimpleDateFormat;
-import java.util.ArrayList;
 import java.util.Date;
-import java.util.LinkedHashMap;
 import java.util.List;
 import static com.iailab.framework.apilog.core.enums.OperateTypeEnum.EXPORT;
 
@@ -44,7 +39,6 @@
     @Autowired
     private McsApi mcsApi;
 
-    @PermitAll
     @GetMapping("/predict-item/tree")
     @Operation(summary = "预测项树")
     public CommonResult<List<PredictItemTreeDTO>> getPredictItemTree(HttpServletResponse response, HttpServletRequest
@@ -54,7 +48,6 @@
         return CommonResult.success(list);
     }
 
-    @PermitAll
     @PostMapping("/predict-data/charts")
     @Operation(summary = "预测数据图表")
     public CommonResult<PreDataBarLineRespVO> getPreDataCharts(HttpServletResponse response, HttpServletRequest
@@ -69,7 +62,6 @@
         return CommonResult.success(respVO);
     }
 
-    @PermitAll
     @PostMapping("/predict-data/item-chart")
     @Operation(summary = "预测数据图表")
     public CommonResult<PreDataItemChartRespVO> getPreDataItemChart(HttpServletResponse response, HttpServletRequest
@@ -79,8 +71,7 @@
         return CommonResult.success(respVO);
     }
 
-    @PermitAll
-    @GetMapping("/predict-data/single-chart")
+    @PostMapping("/predict-data/single-chart")
     @Operation(summary = "预测数据图表")
     public CommonResult<PreDataSingleChartRespVO> getPreDataSingleChart(HttpServletResponse response, HttpServletRequest
             request, @RequestBody PreDataSingleChartReqVO reqVO) throws Exception {

--
Gitblit v1.9.3