修改按计划行车请求方法(上次改错了)
This commit is contained in:
parent
6338ccce21
commit
2e6c06c0cc
@ -501,7 +501,7 @@ public class SimulationV1Controller {
|
|||||||
/**
|
/**
|
||||||
* 按计划行车(新)
|
* 按计划行车(新)
|
||||||
*/
|
*/
|
||||||
@PutMapping("/new/{simulationId}/runAsPlan")
|
@PostMapping("/new/{simulationId}/runAsPlan")
|
||||||
public void runAsPlanNew(@PathVariable String simulationId, @RequestBody @Validated RunAsPlanParam param) {
|
public void runAsPlanNew(@PathVariable String simulationId, @RequestBody @Validated RunAsPlanParam param) {
|
||||||
simulationService.runAsPlan(simulationId, param);
|
simulationService.runAsPlan(simulationId, param);
|
||||||
}
|
}
|
||||||
@ -509,7 +509,7 @@ public class SimulationV1Controller {
|
|||||||
/**
|
/**
|
||||||
* 重置仿真(新)
|
* 重置仿真(新)
|
||||||
*/
|
*/
|
||||||
@PostMapping("/new/{simulationId}/reset")
|
@PutMapping("/new/{simulationId}/reset")
|
||||||
public void reset(@PathVariable String simulationId) {
|
public void reset(@PathVariable String simulationId) {
|
||||||
simulationService.reset(simulationId);
|
simulationService.reset(simulationId);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user