UPDATE: VERSION-20260314

This commit is contained in:
libertyspy
2026-03-14 22:35:40 +08:00
parent db97d8a026
commit 29e17773af

View File

@@ -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