提交 | 用户 | age
|
03d225
|
1 |
package com.yc.sdk.map.service; |
F |
2 |
|
dbf535
|
3 |
import com.yc.sdk.huaweimap.entity.CustomerEntity; |
03d225
|
4 |
import com.yc.sdk.map.entity.LocationEntity; |
a61f53
|
5 |
import com.yc.sdk.map.entity.SearchEntity; |
03d225
|
6 |
import org.springframework.stereotype.Service; |
F |
7 |
|
1c2701
|
8 |
import javax.servlet.http.HttpServletRequest; |
F |
9 |
|
03d225
|
10 |
/** |
F |
11 |
* 地图服务抽象类 |
|
12 |
*/ |
|
13 |
@Service |
|
14 |
public interface AbstractMapService { |
|
15 |
|
|
16 |
/** |
|
17 |
* IP定位服务 |
|
18 |
* |
|
19 |
* @return |
|
20 |
*/ |
1c2701
|
21 |
LocationEntity getIPLocation(String ip, HttpServletRequest request) throws Exception; |
03d225
|
22 |
|
F |
23 |
/** |
|
24 |
* 逆地理编码 |
|
25 |
* |
|
26 |
* @return |
|
27 |
*/ |
1c2701
|
28 |
LocationEntity reverseGeocode(String longitude, String latitude, String ip, HttpServletRequest request) throws Exception; |
03d225
|
29 |
|
a61f53
|
30 |
/** |
F |
31 |
* 周边搜索 |
|
32 |
* |
|
33 |
* @param searchEntity |
|
34 |
* @return |
|
35 |
* @throws Exception |
|
36 |
*/ |
1c2701
|
37 |
Object nearbySearch(SearchEntity searchEntity, HttpServletRequest request) throws Exception; |
a61f53
|
38 |
|
a2ecbf
|
39 |
/** |
F |
40 |
* 关键字搜索 |
|
41 |
* |
|
42 |
* @param searchEntity |
|
43 |
* @return |
|
44 |
* @throws Exception |
|
45 |
*/ |
1c2701
|
46 |
Object searchByText(SearchEntity searchEntity, HttpServletRequest request) throws Exception; |
dbf535
|
47 |
|
F |
48 |
Object customerList(CustomerEntity customerEntity, HttpServletRequest request) throws Exception; |
03d225
|
49 |
} |