# 查询大陆银行省份列表
# 接口调用请求说明
http请求方式:POST
https://api.weixin.qq.com/shop/funds/getprovince?access_token=xxxxxxxxx
# 请求参数示例
{
}
# 回包示例
{
"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
}
# 请求参数说明
参数 | 类型 | 是否必填 | 说明 |
---|
# 回包参数说明
参数 | 类型 | 说明 |
---|---|---|
errcode | number | 错误码 |
errmsg | string | 错误信息 |
data | Object ProvinceInfoInfo列表 | 省份列表 |
total_count | number | 总数 |
# Object ProvinceInfoInfo
参数 | 类型 | 说明 |
---|---|---|
province_name | string | 省份简称 |
province_code | number | 省份编码(获取城市列用参数) |
# 返回码
返回码 | 错误类型 |
---|---|
-1 | 系统异常 |