- 根本就调不通,
https://developers.weixin.qq.com/doc/aispeech/confapi/thirdkefu/sendmsg.html content := <xml> <appid><![CDATA[xxxxxx]]></appid> <openid><![CDATA[xxxxx ]]></appid> <msg><![CDATA[xxxxx]]></msg> <channel>2</channel> <kefuname><![CDATA[Tech.Robot.AI]]></ckefuname> </xml> AES...... curl -X POSY -d '{"encrypt": "AP7OW8KwiIsuopAoZzMwj/0i2eJi2ZpcfIkvmWlO+2PEwDQH6w1QDNvs8NNCruvPvV0cpvzYyX8DBvShrre8YwPbk7w3D+NrFfpOKNpldLxaIW4SNDURFmeO2AH84gvRd0+A3L0uPsmNcq2ROFnTkYO78f9wC0T3BbP4cxoKyk4RJlodQBpayVS8IIgCMisSfhTO9OsEN1MmbyMd5Ruv59ZuAFWaMygS3YWOlGIpxNzxXqimsx0fsSLbOzyqvE1mod+W4uTNQ5YRV/yk1ijrhh0k2Yn+0b6+HHSLgXL7+JG50VeFxDxQ/Fd38M8nfW2i"}' https://openai.weixin.qq.com/openapi/sendmsg/xxxx resp: {"code":-1,"errcode":-1,"errmsg":"Non-whitespace before first tag.\nLine: 0\nColumn: 1\nChar: [","rid":"df440819"}
2022-12-16 - 这样的开发留着过年吗???
这样的开发留着过年吗???, 文档简直太多问题了,消息竟然用标准的aes无法解密? https://developers.weixin.qq.com/doc/aispeech/confapi/thirdkefu/recivemsg.html [图片]
2022-12-16 - android 版本的demo 运行问题
demo版本,登录,都正常,三木聊天室进不去,
2017-01-01 - 信道服务出现错误
打开信道出现如下错误。 {"code":0,"data":{"invalidTunnelIds":[]},"message":"OK"} java.lang.Exception: 信道服务器响应格式错误,无法解析 JSON 字符串 at com.qcloud.weapp.tunnel.TunnelAPI.request(TunnelAPI.java:112) at com.qcloud.weapp.tunnel.TunnelAPI.emitPacket(TunnelAPI.java:72) at com.qcloud.weapp.tunnel.TunnelAPI.emitMessage(TunnelAPI.java:54) at com.qcloud.weapp.tunnel.TunnelAPI.emitMessage(TunnelAPI.java:43) at com.qcloud.weapp.tunnel.TunnelRoom.broadcast(TunnelRoom.java:72) at com.qcloud.ChatTunnelHandler.broadcast(ChatTunnelHandler.java:138) at com.qcloud.ChatTunnelHandler.onTunnelMessage(ChatTunnelHandler.java:93) at com.qcloud.weapp.tunnel.TunnelService.handlePost(TunnelService.java:212) at com.qcloud.weapp.tunnel.TunnelService.handle(TunnelService.java:78) 实现代码: [代码]@RequestMapping[代码][代码] [代码][代码]public[代码] [代码]void[代码] [代码]service(HttpServletRequest request, HttpServletResponse response)[代码][代码] [代码][代码]throws[代码] [代码]ServletException, IOException {[代码][代码] [代码][代码]System.err.println(WxAuthenticationUtils.getWxid(request));[代码][代码] [代码][代码]// 创建信道服务处理信道相关请求[代码][代码] [代码][代码]TunnelService tunnelService = [代码][代码]new[代码] [代码]TunnelService(request, response);[代码][代码] [代码][代码]try[代码] [代码]{[代码][代码] [代码][代码]// 配置是可选的,配置 CheckLogin 为 true 的话,会在隧道建立之前获取用户信息,以便业务将隧道和用户关联起来[代码][代码] [代码][代码]TunnelHandleOptions options = [代码][代码]new[代码] [代码]TunnelHandleOptions();[代码][代码] [代码][代码]options.setCheckLogin([代码][代码]true[代码][代码]);[代码][代码] [代码][代码]// 需要实现信道处理器,ChatTunnelHandler 是一个实现的范例[代码][代码] [代码][代码]tunnelService.handle([代码][代码]new[代码] [代码]ChatTunnelHandler(), options);[代码][代码] [代码][代码]} [代码][代码]catch[代码] [代码](ConfigurationException e) {[代码][代码] [代码][代码]e.printStackTrace();[代码][代码] [代码][代码]}[代码][代码] [代码][代码]}[代码]
2016-12-30 - 文件上传下载遇到问题
文件下载地址: https://oikifiorc.bkt.clouddn.com/timg.jpeg [代码]downloadFile() {[代码][代码] [代码][代码]wx.downloadFile({[代码][代码] [代码][代码]url: [代码][代码]'https://oikifiorc.bkt.clouddn.com/timg.jpeg'[代码][代码], [代码][代码] [代码][代码]success: [代码][代码]function[代码] [代码](res) {[代码][代码] [代码][代码]console.log(res);[代码][代码] [代码][代码]},[代码][代码] [代码][代码]fail: [代码][代码]function[代码] [代码](res) {[代码][代码] [代码][代码]console.log(res);[代码][代码] [代码][代码]}[代码][代码] [代码][代码]})[代码][代码] [代码][代码]},[代码] {errMsg: "downloadFile:fail Error: Hostname/IP doesn't match… DNS:test.xiaokele.qingcdn.com, DNS:www.duba.com""} errMsg:"downloadFile:fail Error: Hostname/IP doesn't match certificate's altnames: "Host: oikifiorc.bkt.clouddn.com. is not in the cert's altnames: DNS:www.baishancloud.com, DNS:baishancloud.com, DNS:desk123.duba.com, DNS:dhimg.duba.com, DNS:dl.doyo.cn, DNS:ent.duba.com, DNS:hotnews.duba.com, DNS:hotnews2.duba.com, DNS:img.cmcmcdn.com, DNS:news.xunyou.com, DNS:s01.10101111cdn.com, DNS:s02.10101111cdn.com, DNS:sgad.moreu.cn, DNS:tejia.duba.com, DNS:test.xiaokele.qingcdn.com, DNS:www.duba.com""
2016-12-22