列车参数请求动力学url调整
This commit is contained in:
parent
ec48b5f48a
commit
b89f4e4b3f
2
third_party/dynamics/dynamics.go
vendored
2
third_party/dynamics/dynamics.go
vendored
@ -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
Block a user