随笔分类 - 微信公众号
摘要://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
阅读全文
摘要:在开发企业微信第三方应用时,使用JSApi。初始化wx.config时没有报错,并在jsApiList里加上了previewFile。 经过测试,发现IPhone端wx.previewFile为undefined。 当前调用方式: wx.previewFile({ url: url, // 需要预览
阅读全文
摘要:sendMessage(){ var that = this; this.$axios({ method:"GET", url:"/wxApi/cgi-bin/token?grant_type=client_credential&appid=wx97ae314497d666cc&secret=c90
阅读全文
摘要:var dirUrl = encodeURIComponent("http://10.0.0.36:8088/collection"); var that = this; this.$axios({ method: "GET", url: "/wxApi/cgi-bin/token?grant_ty
阅读全文