From 0156b6db1248403e43f58abc314e2bc5abccb267 Mon Sep 17 00:00:00 2001 From: liujie <1793218484@qq.com> Date: 星期二, 22 七月 2025 18:16:14 +0800 Subject: [PATCH] 大屏替换路径 --- ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/RegionController.java | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/RegionController.java b/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/RegionController.java index 56faece..ac12260 100644 --- a/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/RegionController.java +++ b/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/RegionController.java @@ -81,8 +81,8 @@ @PostMapping(value = "/getGreenElectricity") @ResponseBody - public R<BigDecimal> getGreenElectricity(@RequestBody List<Integer> siteIds){ - BigDecimal greenElectricity = screenContentMapper.getGreenElectricity(siteIds); + public R<BigDecimal> getGreenElectricity(){ + BigDecimal greenElectricity = screenContentMapper.getGreenElectricity(Arrays.asList(26,25)); return R.ok(greenElectricity); } -- Gitblit v1.7.1