获取静态住宅(非原生)对应城市列表
GET
/externalapi/common/cityList获取静态住宅时长对应城市列表
请求参数
Query 参数
access_token
string
必需
用户token。用户登录之后,获取token
示例值:
{{access_token}}
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
integer
必需
响应编码:1=正常,0=错误
msg
string
响应说明
time
string
必需
data
object
必需
citys
array [object {5}]
城市列表
示例
{
"code": 1,
"msg": "获取成功!",
"time": "1697681198",
"data": {
"citys": [
{
"id": 11,
"name": "Los Angeles",
"code": "Los Angeles",
"type_text": "",
"status_text": ""
},
{
"id": 22,
"name": "New York City",
"code": "New York City",
"type_text": "",
"status_text": ""
},
{
"id": 33,
"name": "Chicago",
"code": "Chicago",
"type_text": "",
"status_text": ""
},
{
"id": 44,
"name": "Houston",
"code": "Houston",
"type_text": "",
"status_text": ""
}
]
}
}
最后修改时间: 18 天前