销毁仿真接口调整
This commit is contained in:
parent
3aadf898e2
commit
08c57ae47e
@ -16,7 +16,7 @@ export async function createSimulation(data: { mapId: number }) {
|
||||
* @param simulationId 仿真id
|
||||
*/
|
||||
export async function destroySimulation(data: { simulationId: string }) {
|
||||
const response = await api.post(`${UriBase}/destroy`, data);
|
||||
const response = await api.post(`${UriBase}/destroy/${data.simulationId}`);
|
||||
return response.data;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user