- errMsg: "agentConfig:fail"
- err_Info: "fail"
- hint: "Hint: '1116162709:28pf8aujopx:40093'. More info at https://open.work.weixin.qq.com/devtool/query?e=40093"
调用的方式是:
wx.agentConfig({
corpid: "ww4d0180e626f38603",
agentid: "1000002",
timestamp: "1637051193",
nonceStr: "abcdef",
signature: "5ac82443514a1176df483ff6081585b1547a443c",
jsApiList: ['selectExternalContact'],
success: function(res: any) {
console.log(res,'成功了')
},
fail: function(res) {
console.log(res);
if(res.errMsg.indexOf('function not exist') > -1){
alert('版本过低请升级')
}
}
});
你好,看日志是ticket失效了,{ jsapi_val: "6cpHT2pEagcg4VDZsDC3wA==" expires_in: 1637049816 create_in: 1637042616 ,16号14点获取的,16点是已经失效了,调用agentconfig的接口是16点26分