要关闭和还原SDK
2020-10-23兄弟解决了吗?
企业微信开发获取会话记录的时候,运行一段时间报错?A fatal error has been detected by the Java Runtime Environment: # # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0000000076d6f23c, pid=9492, tid=0x00000000000020b4 # # JRE version: Java(TM) SE Runtime Environment (8.0_251-b08) (build 1.8.0_251-b08) # Java VM: Java HotSpot(TM) 64-Bit Server VM (25.251-b08 mixed mode windows-amd64 compressed oops) # Problematic frame: # C [ntdll.dll+0x4f23c] # # Failed to write core dump. Minidumps are not enabled by default on client versions of Windows # # An error report file with more information is saved as: # E:\workspace\wx_session_record\hs_err_pid9492.log # # If you would like to submit a bug report, please visit: # http://bugreport.java.com/bugreport/crash.jsp # The crash happened outside the Java Virtual Machine in native code. # See problematic frame for where to report the bug. #
2020-10-21你好,你们是怎么引入Jssdk的了?我们是用的vue开发的
企业微信jssdk预览文件一直显示继续下载场景为企业微信内使用h5 调用预览文件api previewFile后,文件详情页正常打开,但一直显示“继续下载”。 点击“继续下载”按钮后,正在下载文案一闪而过,按钮恢复为继续下载,下载失败。 已知: 引用jssdk正确,为//res.wx.qq.com/open/js/jweixin-1.2.0.jspreviewFile传入参数正确且调用成功
2020-07-23解决了吗?是怎么解决的?我们这边也出现了这个问题。没有思路,求指教 [图片][图片]
企微JSSDK配置问题0,前端vue,后端java 1,问题截图 [图片] 2,通过 npm install weixin-js-sdk 安装 jssdk,然后通过 import wx from 'weixin-js-sdk' 进行引入到页面 3,wx.config 按照官方要求,传 appId,timestamp,nonceStr,signature 四个参数,jsApiList配置如下 jsApiList: [ 'checkJsApi', 'onMenuShareTimeline', 'onMenuShareAppMessage', 'onMenuShareQQ', 'onMenuShareWeibo', 'hideMenuItems', 'showMenuItems', 'hideAllNonBaseMenuItem', 'showAllNonBaseMenuItem', 'translateVoice', 'startRecord', 'stopRecord', 'onRecordEnd', 'playVoice', 'pauseVoice', 'stopVoice', 'uploadVoice', 'downloadVoice', 'chooseImage', 'previewImage', 'uploadImage', 'downloadImage', 'getNetworkType', 'openLocation', 'getLocation', 'hideOptionMenu', 'showOptionMenu', 'closeWindow', 'scanQRCode', 'chooseWXPay', 'openProductSpecificView', 'addCard', 'chooseCard', 'openCard', 'openAddress', 'sendChatMessage', 'openUserProfile', 'getCurExternalContact', 'getCurExternalChat' ] 4,wx.ready 里面调用 wx.agentConfig 传入 corpid,agentid,timestamp,nonceStr,signature,jsApiList配置如下 jsApiList: ['openUserProfile', 'getCurExternalContact', 'getCurExternalChat', 'sendChatMessage'], 5,聊天工具栏分享消息到会话 wx.invoke('sendChatMessage', { msgtype:"text", //消息类型,必填 text: { content:"你好", //文本内容 }, function(res) { if (res.err_msg == 'sendChatMessage:ok') { } } }) 按道理说一步步按照官方文档来做,应该是不会出错的,但是我们点击发送按钮触发 sendChatMessage接口的时候,无法成功,同时 preVerifyJSAPI:fail 这个错误只触发了一次之后就没有任何触发了。
2020-07-23