|
|
@@ -132,22 +132,23 @@ public class SearchController {
|
|
|
public List<Map<String, Object>> getSimilarKinds(String kindName) {
|
|
|
return searchService.getSimilarKinds(kindName);
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
@RequestMapping("/similarLeafKinds")
|
|
|
@ResponseBody
|
|
|
- public List<Map<String, Object>> getSimilarLeafKinds(String kindName){
|
|
|
+ public List<Map<String, Object>> getSimilarLeafKinds(String kindName) {
|
|
|
return searchService.getSimilarLeafKinds(kindName);
|
|
|
}
|
|
|
|
|
|
@RequestMapping("/similarKindsByLevel")
|
|
|
@ResponseBody
|
|
|
- public List<Map<String, Object>> getSimilarKindsByLevel(String kindName, Short level){
|
|
|
+ public List<Map<String, Object>> getSimilarKindsByLevel(String kindName, Short level) {
|
|
|
return searchService.getSimilarKindsByLevel(kindName, level);
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
@RequestMapping("/similarPropertyValues")
|
|
|
@ResponseBody
|
|
|
- public List<Map<String, String>> getSimilarPropertyValues(Long kindId, Long propertyId, String keyword, Long topNum) {
|
|
|
+ public List<Map<String, String>> getSimilarPropertyValues(Long kindId, Long propertyId, String keyword,
|
|
|
+ Long topNum) {
|
|
|
return searchService.getSimilarPropertyValues(kindId, propertyId, keyword, topNum);
|
|
|
}
|
|
|
}
|