26-03-15-09:53 火力规则模块:获取通信组件的所有平台和组件 增加返回平台description字段
This commit is contained in:
@@ -53,8 +53,12 @@ public class FireRuleController extends BaseController {
|
||||
return success(ruleService.getCommPlatformComponentNames(scenarioId));
|
||||
}
|
||||
|
||||
/**
|
||||
* 根据场景id获取所有平台及其组件
|
||||
* @param scenarioId
|
||||
* @return
|
||||
*/
|
||||
@GetMapping("/platforms/{scenarioId}")
|
||||
@ApiOperation("获取通信组件的所有平台和组件")
|
||||
public AjaxResult platforms(@PathVariable Integer scenarioId){
|
||||
return success(ruleService.findPlatformComponents(scenarioId));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user