Merge branch 'master' of http://101.43.238.71:3000/zouju/auto-solution
This commit is contained in:
@@ -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);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user