AppID(小程序ID) wx04d00b852116af31
在开发版环境,所有用户都可以正常调通。
调用激活与更新接口,POST https://api.weixin.qq.com/wxa/set_user_notify?access_token=ACCESS_TOKEN
正常返回数据,并且可以通过查询接口查询到数据 POST https://api.weixin.qq.com/wxa/get_user_notify?access_token=ACCESS_TOKEN
比如数据
{
"errcode": 0,
"errmsg": "ok",
"notify_info": {
"notify_type": 2004,
"content_json": "{\"cur_status\":5,\"wxa_path_query\":\"/comment-page/index\",\"sender_city\":\"北京市\",\"receiver_city\":\"深圳市\",\"sender_name\":\"张*三\",\"receiver_name\":\"李*四\",\"delivery_time\":1727508091}",
"code_state": 0,
"code_expire_time": 1730019127
},
"notify_ext_info": {
"ext_json": "{\"pay_info\":\"{\\\"transaction_id\\\":\\\"4200002364202409273980176788\\\",\\\"pay_amount\\\":1,\\\"pay_time\\\":1727421691}\",\"shipping_list\":\"[{\\\"contact\\\":{\\\"receiver_contact\\\":\\\"186****0000\\\"},\\\"tracking_no\\\":\\\"73532160208716\\\",\\\"express_company\\\":\\\"ZTO\\\"}]\"}",
"service_type_list": [
101
]
}
}
但是到了正式版环境,就会报错,所有用户都不行。
请求如下:
【请求地址】: https://api.weixin.qq.com/wxa/set_user_notify?access_token=TOKEN
【请求参数】:{
"notify_type": 2004,
"openid": "oTp-q67Ev49iAN8kMXS5Mx6htAHk",
"notify_code": "4200002345202410220942651203",
"content_json": "{\"cur_status\":1,\"wxa_path_query\":\"/comment-page/index\",\"sender_city\":\"待揽收确认\",\"receiver_city\":\"武汉市\",\"sender_name\":\"斑马AI学\",\"receiver_name\":\"张*士\"}",
"check_json": "{\"pay_amount\":3600,\"pay_channel\":0,\"pay_time\":1729575461}"
}
接口返回如下:
{
"errcode": 85462,
"errmsg": "app aceess deny rid: 67174f7d-485a306d-2278944b"
}
85462 app aceess deny 小程序准入驳回
想问下是哪里缺少了权限吗(应该去哪里申请),以及为啥开发版可以正常调用?
相关文档:https://developers.weixin.qq.com/miniprogram/dev/platform-capabilities/industry/guarantee/comment-order.html