根据平台id获取该行为树的下属
This commit is contained in:
@@ -136,16 +136,16 @@ public class BehaviortreeController extends BaseController
|
||||
}
|
||||
|
||||
/**
|
||||
* 根据行为树id获取该行为树的下属
|
||||
* @param treeId
|
||||
* 根据平台id获取该行为树的下属
|
||||
* @param platformId
|
||||
* @return
|
||||
*/
|
||||
@ApiOperation("根据行为树id获取该行为树的下属")
|
||||
@ApiOperation("根据平台id获取该行为树的下属")
|
||||
@PreAuthorize("@ss.hasPermi('system:behaviortree:query')")
|
||||
@GetMapping("/underling/{treeId}")
|
||||
public AjaxResult getUnderling(@PathVariable Integer treeId)
|
||||
@GetMapping("/underling/{platformId}")
|
||||
public AjaxResult getUnderling(@PathVariable Integer platformId)
|
||||
{
|
||||
return success(behaviortreeService.getUnderling(treeId));
|
||||
return success(behaviortreeService.getUnderling(platformId));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user