Commit bb3d833e authored by maoying's avatar maoying

修改知识库接口返回

parent 6a502766
...@@ -187,6 +187,7 @@ public class DocLibraryService { ...@@ -187,6 +187,7 @@ public class DocLibraryService {
Map<String, Object> resultMap = new HashMap<>(); Map<String, Object> resultMap = new HashMap<>();
resultMap.put("content",content); resultMap.put("content",content);
countMap.forEach(e->resultMap.put(e.get("directoryName").toString(),e.get("num"))); countMap.forEach(e->resultMap.put(e.get("directoryName").toString(),e.get("num")));
return resultMap;
} }
......
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