GET api/localtravel/basic/countrycitys/{lang}?moduleId={moduleId}

获取國家城市信息

Request Information

URI Parameters

NameDescriptionTypeAdditional information
lang

语言

string

Default value is zh-hk

moduleId

产品模块Id

string

Default value is

Body Parameters

None.

Response Information

Resource Description

获取國家城市信息

ReturnResultOfLocalTravelCountryCityBasicRSContract
NameDescriptionTypeAdditional information
data

LocalTravelCountryCityBasicRSContract

None.

code

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

integer

None.

message

提示消息

string

None.

Response Formats

application/json, text/json

Sample:
{
  "data": {
    "countrycitys": [
      {
        "countryId": "sample string 1",
        "countryName": "sample string 2",
        "worldArea": "sample string 3",
        "cityList": [
          {
            "cityId": "sample string 1",
            "cityName": "sample string 2",
            "urlCategory": "sample string 3"
          },
          {
            "cityId": "sample string 1",
            "cityName": "sample string 2",
            "urlCategory": "sample string 3"
          }
        ],
        "urlCategory": "sample string 4"
      },
      {
        "countryId": "sample string 1",
        "countryName": "sample string 2",
        "worldArea": "sample string 3",
        "cityList": [
          {
            "cityId": "sample string 1",
            "cityName": "sample string 2",
            "urlCategory": "sample string 3"
          },
          {
            "cityId": "sample string 1",
            "cityName": "sample string 2",
            "urlCategory": "sample string 3"
          }
        ],
        "urlCategory": "sample string 4"
      }
    ]
  },
  "code": 1,
  "message": "sample string 2"
}