国家/地区
获取国家列表
国家/地区
获取国家列表
curl --location --request GET 'http://192.168.0.100:8042/api/region/getList' \
--header 'User-Agent: Apifox/1.0.0 (https://apifox.com)'
GET
/api/region/getList
请求参数
名称 | 类型 | 必选 | 说明 |
---|
https://open.ispkey.com/api/region/getList
响应结果
名称 | 类型 | 说明 |
---|---|---|
code | int | 响应代码 |
msg | string | 响应消息 |
data | list | 国家列表 |
{
"code": 0,
"msg": "success",
"data": [
{
"code": "US",
"id": 75,
"name": "美国"
},
{
"code": "JP",
"id": 206,
"name": "日本"
},
......
]
}
{
"code": 0,
"msg": "success",
"data": [
{
"code": "US",
"id": 75,
"name": "美国"
},
{
"code": "JP",
"id": 206,
"name": "日本"
},
......
]
}
{
"code": 1,
"msg": "<string>"
}
curl --location --request GET 'http://192.168.0.100:8042/api/region/getList' \
--header 'User-Agent: Apifox/1.0.0 (https://apifox.com)'
curl --location --request GET 'http://192.168.0.100:8042/api/region/getList' \
--header 'User-Agent: Apifox/1.0.0 (https://apifox.com)'