国家
POST
/api/openPlatform/baseData/country请求参数
无
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
state
string
必需
msg
string
必需
data
array [object {4}]
必需
code
string
国家编码
cnName
string
中文名称
enName
string
英文名称
id
integer
ID
示例成功示例
{
"state": "000001",
"msg": "请求成功",
"data": [
{
"id": 1,
"code": "CN",
"cnName": "中国",
"enName": "China"
},
{
"id": 2,
"code": "SG",
"cnName": "新加坡",
"enName": "Singapore"
},
{
"id": 3,
"code": "MY",
"cnName": "马来西亚",
"enName": "Malaysia"
},
{
"id": 4,
"code": "VN",
"cnName": "越南",
"enName": "Vietnam"
},
{
"id": 6,
"code": "PH",
"cnName": "菲律宾",
"enName": "Philippines"
},
{
"id": 7,
"code": "TH",
"cnName": "泰国",
"enName": "Thailand"
},
{
"id": 8,
"code": "ID",
"cnName": "印度尼西亚",
"enName": "Indonesia"
},
{
"id": 9,
"code": "BR",
"cnName": "巴西",
"enName": "Brazil"
},
{
"id": 10,
"code": "MX",
"cnName": "墨西哥",
"enName": "Mexico"
},
{
"id": 11,
"code": "CO",
"cnName": "哥伦比亚",
"enName": "Colombia"
},
{
"id": 13,
"code": "CL",
"cnName": "智利",
"enName": "Chile"
},
{
"id": 14,
"code": "PL",
"cnName": "波兰",
"enName": "Poland"
},
{
"id": 15,
"code": "ES",
"cnName": "西班牙",
"enName": "Spain"
},
{
"id": 16,
"code": "FR",
"cnName": "法国",
"enName": "France"
},
{
"id": 17,
"code": "IN",
"cnName": "印度",
"enName": "India"
}
]
}
修改于 2 年前