GET api/v2/flight/city/getlist/{lang}

獲取城市列表

Request Information

URI Parameters

NameDescriptionTypeAdditional information
lang

string

Required

Body Parameters

None.

Response Information

Resource Description

獲取城市列表

ReturnResultOfCityListContract
NameDescriptionTypeAdditional information
data

CityListContract

None.

code

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

integer

None.

message

提示消息

string

None.

Response Formats

application/json, text/json

Sample:
{
  "data": {
    "lastUpdate": "2024-12-23T20:15:37.1765329+08:00",
    "cityList": [
      {
        "code": "sample string 1",
        "name": "sample string 2",
        "displayOrder": 3
      },
      {
        "code": "sample string 1",
        "name": "sample string 2",
        "displayOrder": 3
      }
    ]
  },
  "code": 1,
  "message": "sample string 2"
}