微信公众号
获取已设置的规则
# 获取已设置的二维码规则
该接口用于获取已经设置的二维码规则。
服务号要先关联小程序才可以调用该接口。如果服务号尚未关联小程序,可在“公众号管理后台—广告与服务—小程序管理”关联小程序。
# 请求地址
POST https://api.weixin.qq.com/cgi-bin/wxopen/qrcodejumpget?access_token=ACCESS_TOKEN
# 请求参数说明
# 返回参数说明
# 二维码规则详情
返回结果示例:
{
"errcode": 0,
"errmsg": "ok",
"rule_list": [
{
"prefix": "https://weixin.qq.com/qrcodejump",
"state": 1,
"path": "pages/index/index"
},
{
"prefix": "https://weixin.qq.com/qrcodejumptest",
"state": 1,
"path": "pages/index/index"
}
],
"qrcodejump_open": 0,
"list_size": 2,
"qrcodejump_pub_quota": 20,
"total_count": 10
}