公众号支付分需确认点击授权报异常:
1.Object {errCode: undefined, errMsg: "openBu...
errCode: undefined
errMsg: "openBusinessView:permission denied"
__proto__: Object
__proto__: null
异常为:
errCode: undefined
errMsg: "openBusinessView:permission denied"
2.同一商家同一天突然异常,不久后又正常了;之前都是好的
可以检查下
1. wx.config是否成功;
2. wx.conifg的接口列表是否配置了openBusinessView接口
通过排查是access_token失效的原因:access_token(放redis)由灾备环境定时获取导致生产环境无效。我写了一文记录此次异常:https://mp.weixin.qq.com/s?__biz=MzAxMjA1MjUzNQ==&mid=2247484126&idx=1&sn=fb4b38339c677c787026b3f61c7bae85&chksm=9bb6f386acc17a90bb2117b152e85938d78bdce0e4cb1de72d4ff52e0ee78b72026efb5503b8#rd