优化搜索
This commit is contained in:
+3
@@ -78,6 +78,9 @@ class SeaweedPoiDetail {
|
||||
|
||||
String keywords = stringJoiner.toString()
|
||||
List pois = GaoDeUtils.searchPoi(city, keywords, region, typecodes)
|
||||
if (CollectionUtils.isEmpty(pois)) {
|
||||
pois = GaoDeUtils.searchPoi(city, name, region, typecodes)
|
||||
}
|
||||
|
||||
List<AmapPoiDetail> detailList = new ArrayList<>()
|
||||
for (AmapPoi amapPoi : pois) {
|
||||
|
||||
Reference in New Issue
Block a user