修改srms接口返回参数

This commit is contained in:
梁琦涛
2024-01-31 16:26:24 +08:00
parent a74079c8e5
commit 0fc7ac867a
@@ -108,7 +108,7 @@ public class SrmsApiController {
}
List<StandardTree> list = re.getResult();
JSONObject jsonResponses = ResponsesUtil.getJsonOk(re.getMessage());
jsonResponses.put(RESULT,JSON.toJSONString(list));
jsonResponses.put("result",JSON.toJSONString(list));
return ResponsesUtil.getJsonResult(json.get(MESSAGE_HEADER),jsonResponses);
}catch (Exception e){
log.error("获取所有体系数据异常:",e);