fix(cli): use renamed backend APIs

This commit is contained in:
2026-06-13 13:56:44 +08:00
parent ead76185b7
commit d75b98a61b
4 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ function simulationRun(ctx: RuntimeContext, argv: string[]): Promise<void> {
return emitApi(
ctx,
"触发模拟成功",
{ method: "POST", path: "/runsimulationmanuallybydate/", body: { name: network, start_time: start.replace(/\.\d+/, ""), duration }, requireNetworkCtx: true },
{ method: "POST", path: "/simulations/run-by-date", body: { name: network, start_time: start.replace(/\.\d+/, ""), duration }, requireNetworkCtx: true },
[
`tjwater-cli data timeseries realtime links --start-time ${start} --end-time ${end}`,
`tjwater-cli data timeseries realtime nodes --start-time ${start} --end-time ${end}`,