houzhongjian
2024-10-11 6434fc445f48cffd49df9738576d5e340163ed34
iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/api/controller/ApiDataController.java
文件名从 iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/api/controller/DataController.java 修改
@@ -22,6 +22,7 @@
import org.springframework.util.CollectionUtils;
import org.springframework.web.bind.annotation.*;
import javax.annotation.security.PermitAll;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.math.BigDecimal;
@@ -39,7 +40,7 @@
@RestController
@RequestMapping("/api/data")
@Tag(name = "数据")
public class DataController {
public class ApiDataController {
    @Resource
    private DaPointService daPointService;
@@ -56,6 +57,7 @@
    @Resource
    private PointCollector pointCollector;
    @PermitAll
    @PostMapping("/point/history")
    @Operation(summary = "point历史数据")
    public CommonResult<Map<String, List<Map<String, Object>>>> pointHistory(HttpServletResponse response, HttpServletRequest