![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
微信
文章平均质量分 79
Mr.Wang!
日常记录
展开
-
微信授权
参考微信官方文档:https://developers.weixin.qq.com/doc/offiaccount/OA_Web_Apps/Wechat_webpage_authorization.html1、根据appid获取code,替换掉下方连接相应的变量,参照微信官方文档网页授权第一步https://open.weixin.qq.com/connect/oauth2/authorize?appid= 公众号的APPID&redirect_uri= 回调连接地址&response.原创 2020-05-29 15:21:57 · 147 阅读 · 0 评论 -
PHP微信上传图片素材41005错误
错误信息:errcode":41005,“errmsg”:"media data missing hint下面是微信给的接口信息:实际上我要传的参数就一个图片的绝对路径,一定要看好不是url而是绝对路径报41005的错误大致就两个问题参数错误:绝对路径不对,下方为我自己拼接的绝对路径$media = dirname(dirname(__DIR__)).'/public/uploads/20200602/a.jpg;curl的写法问题:php5.5与php5.5以上的版本curl的写法也是原创 2020-06-05 14:02:34 · 937 阅读 · 0 评论