查询行为树所属平台的下属

This commit is contained in:
MHW
2026-04-13 16:16:24 +08:00
parent 50c1cc5bf2
commit 0e6b6d9f45
10 changed files with 318 additions and 0 deletions

View File

@@ -134,4 +134,18 @@ public class BehaviortreeController extends BaseController
return toAjax(behaviortreeService.deleteBehaviortreeByIds(ids));
}
/**
* 根据行为树id获取该行为树的下属
* @param treeId
* @return
*/
@ApiOperation("根据行为树id获取该行为树的下属")
@PreAuthorize("@ss.hasPermi('system:behaviortree:query')")
@GetMapping("/underling/{treeId}")
public AjaxResult getUnderling(@PathVariable Integer treeId)
{
return success(behaviortreeService.getUnderling(treeId));
}
}