- agentConfig注入成功,但是返回是没有该权限的,如何处理?
请求得返回如下 { "data": { "result": { "err_Info": "success", "checkResult": { "invoke": false, "getCurExternalContact": false, "getOpenData": true }, "errMsg": "agentConfig:ok" }, "skey": "4Ex6VEhiGO0jA2Isp2HGFSJiRVMQnSWexmEWcN73ycc=-m84k50ac" } } 代码如下,invoke就没有反应 wx.agentConfig({ //https://developer.work.weixin.qq.com/document/path/94313 corpid: res.data.wx_app_id, agentid: res.data.agent_id, timestamp: res.data.timestamp, nonceStr: res.data.nonce_str, signature: res.data.app_signature, jsApiList: ['invoke','getCurExternalContact'], success: function (res) { console.log(3); console.log('agentConfig success'); // 不存在token 获取内部用户token console.log(user_token,code,'------'); if (!user_token) { axios.post(`${severUrl}/xxxxx`, { key: 'xxxx', code: code }).then((res) => { console.log('请求内部用户access_token',res) localStorage.setItem('user_token', res.data.access_token) }).catch((err) => console.error('获取用户access_token失败', err)) } wx.invoke('getCurExternalContact', {}, function (res) {
03-11 - 微信虚拟支付_coin_订单怎么退款呀
现在遇到_coin_类型的订单号,退款不了捏
02-27