根据平台id获取该行为树的下属

This commit is contained in:
MHW
2026-04-15 16:26:49 +08:00
parent 4404d0e411
commit 2d60a8b90f
7 changed files with 98 additions and 35 deletions

View File

@@ -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));
}
/**