![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
微信公众号
茗扬四海
不断向上
展开
-
踩过的坑(1)----关于微信公众号二维码扫一扫推送url会请求两到三次
这个问题在于url里面的参数有中文,可以考虑将中文urlEncode一下请求就只有一次了而且速度也快起来了原创 2020-04-02 17:26:51 · 725 阅读 · 2 评论 -
微信公众号禁止浏览器打开
var ua = navigator.userAgent.toLowerCase();var isWeixin = ua.indexOf('micromessenger') != -1;if (!isWeixin) { window.location.href = "https://open.weixin.qq.com/connect/oauth2/authorize?appid=88...原创 2019-09-26 10:39:33 · 4707 阅读 · 0 评论