|
|
|
@@ -463,7 +463,7 @@ func DeleteModelConvert(ctx *context.Context) { |
|
|
|
func StopModelConvert(ctx *context.Context) { |
|
|
|
id := ctx.Params(":id") |
|
|
|
log.Info("stop model convert start.id=" + id) |
|
|
|
job, err := models.QueryModelConvertById(ctx.Query("ID")) |
|
|
|
job, err := models.QueryModelConvertById(id) |
|
|
|
if err != nil { |
|
|
|
ctx.ServerError("Not found task.", err) |
|
|
|
return |
|
|
|
|