Commit d2038621 authored by suichenguang's avatar suichenguang

制证包管理更改

parent 050ff376
...@@ -167,11 +167,13 @@ public class ReadXmlApi { ...@@ -167,11 +167,13 @@ public class ReadXmlApi {
dateMap.put("date",date); dateMap.put("date",date);
mapList.add(dateMap); mapList.add(dateMap);
} }
Map<String,Object> resultMap = new HashMap<>();
resultMap.put("mapList",mapList);
resultMap.put("count",mapList.size());
YXJSONResponse yxjsonResponse = new YXJSONResponse(); YXJSONResponse yxjsonResponse = new YXJSONResponse();
resp.setCharacterEncoding("UTF-8"); resp.setCharacterEncoding("UTF-8");
yxjsonResponse.outPutSuccess(mapList); yxjsonResponse.outPutSuccess(resultMap);
yxjsonResponse.outPutSuccess(String.valueOf(mapList.size()));
return yxjsonResponse.toJSONString(); return yxjsonResponse.toJSONString();
} }
......
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