From b89f4e4b3f64ed78e466fbbef72c53a20c72527b Mon Sep 17 00:00:00 2001 From: tiger_zhou Date: Thu, 25 Jan 2024 09:30:19 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=97=E8=BD=A6=E5=8F=82=E6=95=B0=E8=AF=B7?= =?UTF-8?q?=E6=B1=82=E5=8A=A8=E5=8A=9B=E5=AD=A6url=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- third_party/dynamics/dynamics.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/third_party/dynamics/dynamics.go b/third_party/dynamics/dynamics.go index 09cf4b9..ff8d31f 100644 --- a/third_party/dynamics/dynamics.go +++ b/third_party/dynamics/dynamics.go @@ -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)