GET api/package/city/{lang}?countryCode={countryCode}

获取城市列表

Request Information

URI Parameters

NameDescriptionTypeAdditional information
lang

语言(zh-hk,zh-cn,en-us....)

string

Default value is zh-hk

countryCode

国家编号

string

Default value is

Body Parameters

None.

Response Information

Resource Description

获取城市列表

ReturnResultOfListOfPackageCityContract
NameDescriptionTypeAdditional information
data

Collection of PackageCityContract

None.

code

状态码:100成功,其他自定义

integer

None.

message

提示消息

string

None.

Response Formats

application/json, text/json

Sample:
{
  "data": [
    {
      "citykey": "sample string 1",
      "cityName": "sample string 2"
    },
    {
      "citykey": "sample string 1",
      "cityName": "sample string 2"
    }
  ],
  "code": 1,
  "message": "sample string 2"
}