域名已经添加到了可信域名里面,签名
调用JS
ww.register({
corpId:wxApp.value.corpId,
agentId:wxApp.value.agentId,
jsApiList:['openEnterpriseChat'],
getConfigSignature:async(url)=>{
//调用API签名
},
getAgentConfigSignature:async(url)=>{
//调用API签名
},
onAgentConfigFail:err=>{
console.log(err);
},
onAgentConfigSuccess:rst=>{
console.log(rst);
}
});
运行之后,就报错了,报错如下:
{err_msg: 'not match any reliable domain. more info at https://open.work.weixin.qq.com/devtool/query?e=80001', errMsg: 'agentConfig://open.work.weixin.qq.com/devtool/query?e=80001', errCode: -1}
其他信息:
corpid: "ww9ba172a768bdc794"
agentid: "1000010"
