fs-danaus
2024-03-16 a2ecbf17d6ba1c7b135fe10bb4cdfefa05b75add
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
package com.yc.sdk.map.service;
 
import com.yc.sdk.map.entity.LocationEntity;
import com.yc.sdk.map.entity.SearchEntity;
import org.springframework.stereotype.Service;
 
/**
 * 地图服务抽象类
 */
@Service
public interface AbstractMapService {
 
    /**
     * IP定位服务
     *
     * @return
     */
    LocationEntity getIPLocation(String ip) throws Exception;
 
    /**
     * 逆地理编码
     *
     * @return
     */
    LocationEntity reverseGeocode(String longitude, String latitude, String ip) throws Exception;
 
    /**
     * 周边搜索
     *
     * @param searchEntity
     * @return
     * @throws Exception
     */
    Object nearbySearch(SearchEntity searchEntity) throws Exception;
 
    /**
     * 关键字搜索
     *
     * @param searchEntity
     * @return
     * @throws Exception
     */
    Object searchByText(SearchEntity searchEntity) throws Exception;
}