搜索附近地址
开发中
GET
/staffapi/index/address
请求参数
Query 参数
keyword
string
关键词
latitude
string
纬度
longitude
string
经度
Header 参数
token
string
必需
默认值:
217ba8ac94c48c81403500017f8c13fc
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET '/staffapi/index/address?keyword&latitude&longitude' \
--header 'token;'
返回响应
🟢200成功
application/json
Body
code
integer
必需
show
integer
必需
msg
string
必需
data
object
必需
status
integer
必需
message
string
必需
request_id
string
必需
count
integer
必需
data
array [object {8}]
必需
示例
{
"code": 0,
"show": 0,
"msg": "string",
"data": {
"status": 0,
"message": "string",
"request_id": "string",
"count": 0,
"data": [
{
"id": "string",
"title": "string",
"address": "string",
"tel": "string",
"category": "string",
"location": {
"lat": 0,
"lng": 0
},
"ad_info": {
"adcode": 0,
"province": "string",
"city": "string",
"district": "string"
},
"_distance": 0
}
]
}
}
修改于 2024-11-07 04:17:25