From 39146f7b3d816d3e52cea0ccf12189cc525a5638 Mon Sep 17 00:00:00 2001 From: zouap Date: Mon, 13 Jun 2022 15:20:37 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BB=A3=E7=A0=81=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_manage.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/routers/repo/ai_model_manage.go b/routers/repo/ai_model_manage.go index 334197737..3ca6cf115 100644 --- a/routers/repo/ai_model_manage.go +++ b/routers/repo/ai_model_manage.go @@ -141,7 +141,7 @@ func SaveNewNameModel(ctx *context.Context) { return } SaveModel(ctx) - + ctx.Status(200) log.Info("save model end.") } @@ -181,7 +181,7 @@ func SaveModel(ctx *context.Context) { ctx.Error(500, fmt.Sprintf("save model error. %v", err)) return } - + ctx.Status(200) log.Info("save model end.") }