From 29e17773af6e0e8345b4c5022e4dff0e61f36e1a Mon Sep 17 00:00:00 2001 From: libertyspy Date: Sat, 14 Mar 2026 22:35:40 +0800 Subject: [PATCH] UPDATE: VERSION-20260314 --- .../solution/web/controller/rule/FireRuleController.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/auto-solution-admin/src/main/java/com/solution/web/controller/rule/FireRuleController.java b/auto-solution-admin/src/main/java/com/solution/web/controller/rule/FireRuleController.java index 96706c2..d4399f3 100644 --- a/auto-solution-admin/src/main/java/com/solution/web/controller/rule/FireRuleController.java +++ b/auto-solution-admin/src/main/java/com/solution/web/controller/rule/FireRuleController.java @@ -53,6 +53,12 @@ public class FireRuleController extends BaseController { return success(ruleService.getCommPlatformComponentNames(scenarioId)); } + @GetMapping("/platforms/{scenarioId}") + @ApiOperation("获取通信组件的所有平台和组件") + public AjaxResult platforms(@PathVariable Integer scenarioId){ + return success(ruleService.findPlatformComponents(scenarioId)); + } + /** * 根据平台id获取平台下所有组件 * @param platformId