This commit is contained in:
2026-04-13 15:30:50 +08:00

View File

@@ -40,6 +40,10 @@ export const updateTree = (rt: Partial<BehaviorTree>): Promise<BasicResponse> =>
return req.postJson(`/system/behaviortree`, rt);
};
export const copyTree = (rt: Partial<BehaviorTree>): Promise<BasicResponse> => {
return req.postJson(`/system/behaviortree/copy`, rt);
};
export const createTree = (rt: Partial<BehaviorTree>): Promise<BasicResponse> => {
return req.putJson(`/system/behaviortree`, rt);
};