列车参数请求动力学url调整
This commit is contained in:
parent
ec48b5f48a
commit
b89f4e4b3f
|
@ -205,7 +205,7 @@ func (d *dynamics) TrainOperationConfig(req *message.TrainOperationConfig) error
|
|||
return nil
|
||||
}
|
||||
data, _ := json.Marshal(req)
|
||||
url := d.buildUrl("/api/config")
|
||||
url := d.buildUrl("/api/config/")
|
||||
resp, err := d.httpClient.Post(url, "application/json", bytes.NewBuffer(data))
|
||||
if err != nil {
|
||||
return fmt.Errorf("动力学移除列车请求异常: %v", err)
|
||||
|
|
Loading…
Reference in New Issue