Commit cf476579 authored by linpeiqin's avatar linpeiqin

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

parent 7030872c
......@@ -177,7 +177,7 @@ public class ModelVersionController {
String msg = jo.getString("msg");
String data = jo.getString("data");
if (code != null && code == 200) {
return ResponseResult.success(msg);
return ResponseResult.create(ErrorCodeEnum.NO_ERROR, msg, data);
} else {
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