POST api/hotel/common/city/search/{source}?top={top}&keyword={keyword}&cityCode={cityCode}
获取城市数据
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
source |
接口(wtl/techson) |
string |
Required |
top |
数量 |
integer |
Required |
keyword |
关键字 |
string |
Required |
cityCode |
明确搜索 |
string |
Default value is |
Body Parameters
None.
Response Information
Resource Description
获取城市数据
ReturnResultName | Description | Type | Additional information |
---|---|---|---|
code |
状态码:100成功,其他自定义 |
integer |
None. |
message |
提示消息 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "code": 1, "message": "sample string 2" }