Browse Source

提交代码。

Signed-off-by: zouap <zouap@pcl.ac.cn>
tags/v1.22.6.1^2
zouap 3 years ago
parent
commit
39146f7b3d
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      routers/repo/ai_model_manage.go

+ 2
- 2
routers/repo/ai_model_manage.go View File

@@ -141,7 +141,7 @@ func SaveNewNameModel(ctx *context.Context) {
return return
} }
SaveModel(ctx) SaveModel(ctx)
ctx.Status(200)
log.Info("save model end.") log.Info("save model end.")
} }


@@ -181,7 +181,7 @@ func SaveModel(ctx *context.Context) {
ctx.Error(500, fmt.Sprintf("save model error. %v", err)) ctx.Error(500, fmt.Sprintf("save model error. %v", err))
return return
} }
ctx.Status(200)
log.Info("save model end.") log.Info("save model end.")
} }




Loading…
Cancel
Save