公共-城市列表接口
基本信息
Path: /resourceCommon/listCity
Method: POST
使用说明
- 公共城市列表接口不包括酒店城市列表
- 该接口为post请求,请求参数为空字符串加密。
Headers
| 参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
|---|---|---|---|---|
| Content-Type | application/json | 是 | ||
| x-lvcang-api-account | 开放平台分配 | 是 | aaa.test |
返回数据
| 名称 | 类型 | 是否必须 | 备注 |
|---|---|---|---|
| firstLetter | string | 非必须 | |
| cityInfoVoList | object [] | 非必须 | |
| ├─ id | integer | 非必须 | 城市ID |
| ├─ name | string | 非必须 | 城市名称 |
| ├─ pinYin | string | 非必须 | 城市简拼 |
| ├─ firstLetter | string | 非必须 | 城市首字母 |
