GET /region/getList

请求参数

名称类型必选说明
pidint与region二选一国家ID
regionstring与pid二选一国家编码
https://open.ispkey.com/api/region/getList?pid=75
https://open.ispkey.com/api/region/getList?region=US

响应结果

名称类型说明
codeint响应代码
msgstring响应消息
datalist地区列表
{
    "code": 0,
    "msg": "success",
    "data": [
        {
            "code": "Alabama",
            "id": 1713,
            "name": "Alabama"
        },
        {
            "code": "Alaska",
            "id": 1714,
            "name": "Alaska"
        },
        ......
    ]
}