GET api/package/country/{lang}

获取国家列表

Request Information

URI Parameters

NameDescriptionTypeAdditional information
lang

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

string

Default value is zh-hk

Body Parameters

None.

Response Information

Resource Description

获取国家列表

ReturnResultOfListOfPackageCountryContract
NameDescriptionTypeAdditional information
data

Collection of PackageCountryContract

None.

code

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

integer

None.

message

提示消息

string

None.

Response Formats

application/json, text/json

Sample:
{
  "data": [
    {
      "countrycode": "sample string 1",
      "country": "sample string 2"
    },
    {
      "countrycode": "sample string 1",
      "country": "sample string 2"
    }
  ],
  "code": 1,
  "message": "sample string 2"
}