文档
测试

根据经纬度获取最近10家餐厅

POST
http://crm.houcaller.com/htest/openapi/v1/listOrgLocation

请求参数

application/json
参数名
类型
描述
必填
longitude
double
经度
必填
latitude
double
纬度
必填

响应参数

参数名
类型
描述
必填
code
int
示例:200
必填
data
array
数据列表
必填
address
string
示例:福建省厦门市体育路95号 工人体育馆之配套商业6号店(大润发旁)
必填
city
string
示例:厦门
必填
distance
float
示例:0.2069
必填
latitude
float
示例:24.48979187
必填
longitude
float
示例:118.1112289
必填
orgCode
string
示例:0121
必填
orgName
string
示例:厦门大润发餐厅
必填
phone
string
示例:
必填
msg
string
示例:
必填
result
int
示例:1
必填
tk
string
示例:
必填

说明 / 示例

<pre>{ "code": 200, "data": [ { "address": "福建省厦门市体育路95号 工人体育馆之配套商业6号店(大润发旁)", "city": "厦门", "distance": 0.2069, "latitude": 24.48979187, "longitude": 118.1112289, "orgCode": "0121", "orgName": "厦门大润发餐厅", "phone": "" }, { "address": "福建省厦门市湖里区兴山路中港花园SM对面", "city": "厦门", "distance": 1.884, "latitude": 24.50248718, "longitude": 118.1282959, "orgCode": "0106", "orgName": "厦门中港餐厅", "phone": "" }, { "address": "福建省厦门市思明区禾祥西路82号", "city": "厦门", "distance": 2.9816, "latitude": 24.46524239, "longitude": 118.0886612, "orgCode": "0103", "orgName": "厦门禾祥西餐厅", "phone": "" }, { "address": "福建省厦门市思明区莲前大道卧龙晓城对面", "city": "厦门", "distance": 3.2838, "latitude": 24.47757721, "longitude": 118.1404495, "orgCode": "0107", "orgName": "厦门金鸡亭餐厅", "phone": "" }, { "address": "福建省厦门市思明区厦大西村6号楼面", "city": "厦门", "distance": 3.6389, "latitude": 24.43721581, "longitude": 118.0927658, "orgCode": "0120", "orgName": "厦门厦大西村餐厅", "phone": "" }, { "address": "福建省厦门市思明区厦禾路261-13号(眼科医院对面) ", "city": "厦门", "distance": 3.8906, "latitude": 24.46055031, "longitude": 118.0805893, "orgCode": "0117", "orgName": "厦门思北源昌餐厅", "phone": "" }, { "address": "福建省厦门市思明南路118号老虎城2楼", "city": "厦门", "distance": 4.0129, "latitude": 24.453447, "longitude": 118.081184, "orgCode": "0146", "orgName": "厦门老虎城餐厅", "phone": "" }, { "address": "福建省厦门市东百蔡塘广场第3层A02", "city": "厦门", "distance": 4.858, "latitude": 24.48653221, "longitude": 118.1554337, "orgCode": "0137", "orgName": "厦门蔡塘大润发餐厅", "phone": "" }, { "address": "福建省厦门市金湖路101号五缘湾乐都汇购物中心L2F017、018", "city": "厦门", "distance": 5.4869, "latitude": 24.51200867, "longitude": 118.1604233, "orgCode": "0131", "orgName": "厦门枋湖乐都汇餐厅", "phone": "" } ], "msg": "", "result": 1, "tk": "" }