Commit cf476579 authored by linpeiqin's avatar linpeiqin

增加模型管理的已加载模型和停止接口

parent 7030872c
...@@ -177,7 +177,7 @@ public class ModelVersionController { ...@@ -177,7 +177,7 @@ public class ModelVersionController {
String msg = jo.getString("msg"); String msg = jo.getString("msg");
String data = jo.getString("data"); String data = jo.getString("data");
if (code != null && code == 200) { if (code != null && code == 200) {
return ResponseResult.success(msg); return ResponseResult.create(ErrorCodeEnum.NO_ERROR, msg, data);
} else { } else {
return ResponseResult.create(ErrorCodeEnum.SERVER_INTERNAL_ERROR, msg, data); return ResponseResult.create(ErrorCodeEnum.SERVER_INTERNAL_ERROR, msg, data);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment