|
|
|
@@ -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.") |
|
|
|
} |
|
|
|
|
|
|
|
|