随笔分类 -  微信公众号

摘要://SHA1 加密 function encodeUTF8(s) { var i, r = [], c, x; for (i = 0; i < s.length; i++) if ((c = s.charCodeAt(i)) < 0x80) r.push(c); else if (c < 0x800 阅读全文
posted @ 2022-10-09 16:49 秃头的铲屎官 阅读(549) 评论(0) 推荐(0) 编辑
摘要:在开发企业微信第三方应用时,使用JSApi。初始化wx.config时没有报错,并在jsApiList里加上了previewFile。 经过测试,发现IPhone端wx.previewFile为undefined。 当前调用方式: wx.previewFile({ url: url, // 需要预览 阅读全文
posted @ 2022-10-08 15:52 秃头的铲屎官 阅读(515) 评论(0) 推荐(0) 编辑
摘要:sendMessage(){ var that = this; this.$axios({ method:"GET", url:"/wxApi/cgi-bin/token?grant_type=client_credential&appid=wx97ae314497d666cc&secret=c90 阅读全文
posted @ 2020-12-09 10:30 秃头的铲屎官 阅读(225) 评论(0) 推荐(0) 编辑
摘要:var dirUrl = encodeURIComponent("http://10.0.0.36:8088/collection"); var that = this; this.$axios({ method: "GET", url: "/wxApi/cgi-bin/token?grant_ty 阅读全文
posted @ 2020-12-09 10:25 秃头的铲屎官 阅读(183) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示