|
|
@ -329,6 +329,14 @@ public class HjmCarController extends BaseController { |
|
|
|
@Operation(summary = "根据坐标解析地址(腾讯地图)") |
|
|
|
@GetMapping("/pageByQQMap") |
|
|
|
public ApiResult<PageResult<HjmCar>> pageByQQMap(HjmCarParam param) { |
|
|
|
// 检查必要的坐标参数
|
|
|
|
if (param.getLatitude() == null || param.getLatitude().isEmpty() || |
|
|
|
param.getLongitude() == null || param.getLongitude().isEmpty()) { |
|
|
|
// 如果坐标为空,直接返回分页结果
|
|
|
|
param.setLimit(100L); |
|
|
|
return success(hjmCarService.pageRel(param)); |
|
|
|
} |
|
|
|
|
|
|
|
final DictDataParam dictDataParam = new DictDataParam(); |
|
|
|
dictDataParam.setDictCode("QQMapKey"); |
|
|
|
// final List<DictData> dictDataList = dictDataService.listRel(dictDataParam);
|
|
|
|