From 3e4e2db9ecb91f7b81358135c097e3f35a7acace Mon Sep 17 00:00:00 2001
From: longz <longzhaoz@qq.com>
Date: 星期五, 07 八月 2026 11:06:05 +0800
Subject: [PATCH] fix:储能品牌
---
ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/emind/controller/EmindStorageDashboardController.java | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/emind/controller/EmindStorageDashboardController.java b/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/emind/controller/EmindStorageDashboardController.java
index 27734d2..6a3fd59 100644
--- a/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/emind/controller/EmindStorageDashboardController.java
+++ b/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/emind/controller/EmindStorageDashboardController.java
@@ -11,6 +11,6 @@
public class EmindStorageDashboardController {
private final EmindStorageDashboardService service;
public EmindStorageDashboardController(EmindStorageDashboardService service) { this.service=service; }
- @GetMapping("/stations") public R<List<Map<String,Object>>> stations() { return R.ok(service.stations()); }
+ @GetMapping("/stations") public R<List<Map<String,Object>>> stations(@RequestParam(required = false) List<String> platformNames) { return R.ok(service.stations(platformNames)); }
@PostMapping("/overview") public R<Map<String,Object>> overview(@RequestBody EmindDashboardQuery query) { return R.ok(service.overview(query)); }
}
--
Gitblit v1.7.1