# 查询大陆银行省份列表
# 接口说明
可通过该接口查询大陆银行省份列表
# 注意事项
调用接口时传空的json串即可。
# 接口调用请求说明
POST https://api.weixin.qq.com/shop/funds/getprovince?access_token=xxxxxxxxx
# 请求参数说明
无请求参数
# 请求参数示例
{
}
# 返回参数说明
参数 | 类型 | 描述 |
---|---|---|
errcode | number | 错误码 |
errmsg | string | 错误信息 |
data | Object ProvinceInfoInfo列表 | 省份列表,结构体详情请参考ProvinceInfoInfo结构体 |
total_count | number | 总数 |
# 返回参数示例
{
"data": [
{
"province_code": 1,
"province_name": "北京市"
},
{
"province_code": 2,
"province_name": "上海市"
},
{
"province_code": 3,
"province_name": "天津市"
},
{
"province_code": 4,
"province_name": "重庆市"
},
{
"province_code": 5,
"province_name": "河北省"
},
{
"province_code": 6,
"province_name": "山西省"
},
{
"province_code": 7,
"province_name": "内蒙古"
},
{
"province_code": 8,
"province_name": "辽宁省"
},
{
"province_code": 9,
"province_name": "吉林省"
},
{
"province_code": 10,
"province_name": "黑龙江省"
},
{
"province_code": 11,
"province_name": "江苏省"
},
{
"province_code": 12,
"province_name": "浙江省"
},
{
"province_code": 13,
"province_name": "安徽省"
},
{
"province_code": 14,
"province_name": "福建省"
},
{
"province_code": 15,
"province_name": "江西省"
},
{
"province_code": 16,
"province_name": "山东省"
},
{
"province_code": 17,
"province_name": "河南省"
},
{
"province_code": 18,
"province_name": "湖北省"
},
{
"province_code": 19,
"province_name": "湖南省"
},
{
"province_code": 20,
"province_name": "广东省"
},
{
"province_code": 21,
"province_name": "广西"
},
{
"province_code": 22,
"province_name": "海南省"
},
{
"province_code": 23,
"province_name": "四川省"
},
{
"province_code": 24,
"province_name": "贵州省"
},
{
"province_code": 25,
"province_name": "云南省"
},
{
"province_code": 26,
"province_name": "西藏"
},
{
"province_code": 27,
"province_name": "陕西省"
},
{
"province_code": 28,
"province_name": "甘肃省"
},
{
"province_code": 29,
"province_name": "宁夏"
},
{
"province_code": 30,
"province_name": "青海省"
},
{
"province_code": 31,
"province_name": "新疆"
}
],
"total_count": 31,
"errmsg": "ok",
"errcode": 0
}
# 错误码
错误码 | 错误描述 |
---|---|
公共错误码 | - |
# 结构体
# ProvinceInfoInfo
省份信息
参数 | 类型 | 描述 |
---|---|---|
province_name | string | 省份简称 |
province_code | number | 省份编码(获取城市列用参数) |