update 高德

This commit is contained in:
2023-06-26 14:41:30 +08:00
parent 51a0af2a2a
commit 6eaf84cd70

View File

@@ -128,6 +128,8 @@ public class AMapServiceImpl implements AMapService {
@Override
public List<AMapStationInfo> getStationInfosV2(GetStationInfoDTO dto) {
StopWatch sw = new StopWatch();
sw.start("查询站点信息");
List<AMapStationInfo> resultList = Lists.newArrayList();
// 设置分页参数
int pageNo = dto.getCurrentPage() == null ? 1 : dto.getCurrentPage();
@@ -187,6 +189,8 @@ public class AMapServiceImpl implements AMapService {
resultList.add(aMapInfo);
}
sw.stop();
log.info("接口耗时:{}, 详情:{}", sw.getTotalTimeMillis(), sw.prettyPrint());
return resultList;
}