文件名从 iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/api/controller/DataController.java 修改 |
| | |
| | | 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; |
| | |
| | | @RestController |
| | | @RequestMapping("/api/data") |
| | | @Tag(name = "数据") |
| | | public class DataController { |
| | | public class ApiDataController { |
| | | |
| | | @Resource |
| | | private DaPointService daPointService; |
| | |
| | | @Resource |
| | | private PointCollector pointCollector; |
| | | |
| | | @PermitAll |
| | | @PostMapping("/point/history") |
| | | @Operation(summary = "point历史数据") |
| | | public CommonResult<Map<String, List<Map<String, Object>>>> pointHistory(HttpServletResponse response, HttpServletRequest |