Files
smartDriveEE/src/main/java/com/rj/service/INearbyMerchantSearchService.java
2026-05-03 09:36:00 +08:00

22 lines
949 B
Java
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package com.rj.service;
import com.rj.dto.NearbyMerchantSearchResult;
/**
* 基于高德地图:地址转坐标 + 周边全行业 POI商家检索。
*/
public interface INearbyMerchantSearchService {
/**
* 根据城市、详细地址得到中心点,再按半径分页拉取周边商家。
*
* @param city 城市(传给地理编码 city 参数,如「河北省廊坊市三河市燕郊镇」)
* @param address 地址/地标(传给地理编码 address 参数)
* @param radiusMeters 周边搜索半径(米)
* @param maxPage 最多请求页数(从 1 递增)
* @param maxRecordsPerPage 每页条数,高德允许 150超出会被裁剪
*/
NearbyMerchantSearchResult searchNearbyMerchants(String city, String address,
int radiusMeters, int maxPage, int maxRecordsPerPage);
}