From 692fbd896451344ccc5a45af46ab980cd88a3b00 Mon Sep 17 00:00:00 2001 From: zouap Date: Thu, 15 Dec 2022 16:14:15 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BB=A3=E7=A0=81=EF=BC=8C?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=8F=82=E6=95=B0=E8=8E=B7=E5=8F=96=E6=96=B9?= =?UTF-8?q?=E5=BC=8F=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zouap --- routers/repo/ai_model_convert.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routers/repo/ai_model_convert.go b/routers/repo/ai_model_convert.go index 9839a5041..36664458e 100644 --- a/routers/repo/ai_model_convert.go +++ b/routers/repo/ai_model_convert.go @@ -603,7 +603,7 @@ func stopModelConvert(id string) error { } func StopModelConvertApi(ctx *context.Context) { - id := ctx.Params(":id") + id := ctx.Query("id") log.Info("stop model convert start.id=" + id) err := stopModelConvert(id) if err == nil {