Browse Source

提交代码,修改参数获取方式。

Signed-off-by: zouap <zouap@pcl.ac.cn>
pull/3396/head
zouap 2 years ago
parent
commit
692fbd8964
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      routers/repo/ai_model_convert.go

+ 1
- 1
routers/repo/ai_model_convert.go View File

@@ -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 {


Loading…
Cancel
Save