Commit 9150c74b authored by 万建斌's avatar 万建斌

2019-11-29 优化

parent 0d3b6a39
...@@ -100,6 +100,7 @@ public class SearchContrllor { ...@@ -100,6 +100,7 @@ public class SearchContrllor {
Map<String, Object> resMap = new HashMap<>(); Map<String, Object> resMap = new HashMap<>();
resMap.put("result", parseResult(result)); resMap.put("result", parseResult(result));
resMap.put("opensearch:totalResults", result.get("opensearch:totalResults"));
panResult.setRespData(resMap); panResult.setRespData(resMap);
insertLog(before, "/v1/queryArticleInfo"); insertLog(before, "/v1/queryArticleInfo");
return panResult; return panResult;
...@@ -123,6 +124,7 @@ public class SearchContrllor { ...@@ -123,6 +124,7 @@ public class SearchContrllor {
temp.put("prism:pageRange", map.get("prism:pageRange")); temp.put("prism:pageRange", map.get("prism:pageRange"));
temp.put("dc:title", map.get("dc:title")); temp.put("dc:title", map.get("dc:title"));
temp.put("prism:coverDisplayDate", map.get("prism:coverDisplayDate")); temp.put("prism:coverDisplayDate", map.get("prism:coverDisplayDate"));
temp.put("affiliation", map.get("affiliation"));
result.add(temp); result.add(temp);
} }
......
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