修改srms接口返回参数
This commit is contained in:
+1
-1
@@ -108,7 +108,7 @@ public class SrmsApiController {
|
|||||||
}
|
}
|
||||||
List<StandardTree> list = re.getResult();
|
List<StandardTree> list = re.getResult();
|
||||||
JSONObject jsonResponses = ResponsesUtil.getJsonOk(re.getMessage());
|
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);
|
return ResponsesUtil.getJsonResult(json.get(MESSAGE_HEADER),jsonResponses);
|
||||||
}catch (Exception e){
|
}catch (Exception e){
|
||||||
log.error("获取所有体系数据异常:",e);
|
log.error("获取所有体系数据异常:",e);
|
||||||
|
|||||||
Reference in New Issue
Block a user