Merge branch 'refs/heads/develop'
This commit is contained in:
@@ -52,4 +52,15 @@ public class FireRuleController extends BaseController {
|
||||
public AjaxResult getCommPlatformComponentNames(Integer scenarioId){
|
||||
return success(ruleService.getCommPlatformComponentNames(scenarioId));
|
||||
}
|
||||
|
||||
/**
|
||||
* 根据平台id获取平台下所有组件
|
||||
* @param platformId
|
||||
* @return
|
||||
*/
|
||||
@GetMapping("/component/{platformId}")
|
||||
@ApiOperation("根据平台id获取平台下所有组件")
|
||||
public AjaxResult getComponents(@PathVariable Integer platformId){
|
||||
return success(ruleService.getComponents(platformId));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user