- 目前工具栏调用应用, 是否能隐藏下方发送按钮?
[图片] 这个是会话中, +号点进去的第三方应用, 下方有个微信自带的发送按钮, 是否有方法隐藏, 如果不能隐藏, 有没有其他的处理办法?
2021-10-13 - $wx.invoke("shareToExternalContact: 苹果手机调用不显示链接?
let href = "goods="+JSON.stringify(this.goods); Toast("href:" + href); this.$wx.invoke("shareToExternalContact", { text: { content:"", // 文本内容 }, attachments: [ { msgtype: "link", // 消息类型,必填 link: { title: this.goods.goodTypeName, // H5消息标题 imgUrl: this.goods.picAddr, // H5消息封面图片URL desc: this.goods.goodTypeDesc, // H5消息摘要 url: href, // H5消息页面url 必填 }, }, ], success: function() { // Toast("调用api成功!"+res); // console.log(res); }, fail: function(res) { Toast("调用api失败!"+res) console.log(res); } }, 代码如图: 1. PC端和安卓端调用群发api时正常显示链接及图片. 2. 苹果调时, 不显示链接及图片. 如头行代码, 已将对象打印出, 是有值的, 但实际可能没赋值上?
2021-10-13 - this.$wx.agentConfig 总是返回40093? 急看
this.$wx.agentConfig({ corpid: response.data.data.appId, // 必填,企业微信的corpid,必须与当前登录的企业一致 agentid: response.data.data.agentId, // 必填,企业微信的应用id (e.g. 1000247) timestamp: response.data.data.timestamp , // 必填,生成签名的时间戳 nonceStr: response.data.data.nonceStr, // 必填,生成签名的随机串 signature: response.data.data.signature,// 必填,签名,见附录-JS-SDK使用权限签名算法 jsApiList: ['shareToExternalContact'], //必填,传入需要使用的接口名称 success: function(res) { Toast("成功" + JSON.stringify(res)); console.log(res) // 回调 }, fail: function(res) { Toast("失败" + JSON.stringify(res)); console.log(res) } 失败{"err_Info":"fail","errMsg":"agentConfig:fail","hint":"Hint: '0928102416:GPrvAABr2RNBSUyI+GKl0w:40093'. More info at https://open.work.weixin.qq.com/devtool/query?e=40093"} 已在https://work.weixin.qq.com/api/jsapisign 页面进行过签名校验 同时应用配置回调域名和可信任域名已保持一致
2021-09-28 - 企业微信第三方调用群发 wx.config 提示invalid signature 40093?
拿网页签名工具校验过, 生成的签名是一样的 corpid: "ww026d6e0ca96d989a", // 必填,企业微信的corpid,必须与当前登录的企业一致 agentid: 1000003, // 必填,企业微信的应用id (e.g. 1000247) timestamp: 1629179598 , // 必填,生成签名的时间戳 nonceStr: "KqbWr8wUhlFUHZbw", // 必填,生成签名的随机串 signature: "ef518327153d27ed0da6e9b3b85e20b1644641df",// 必填,签名,见附录-JS-SDK使用权限签名算法 jsApiList: ['shareToExternalContact'], //必填,传入需要使用的接口名称 k看不出什么问题, ntConfig:fail","err_msg":"invalid signature more info at https://open.work.weixin.qq.com/devtool/query?e=40093
2021-08-17