微信公众号开发踩坑记录No.1

微信公众号开发测试环境sandbox URL: https://mp.weixin.qq.com/debug/cgi-bin/sandbox?t=sandbox/login

上面这个登录界面只要打开后用微信扫码登录即可快速创建一个测试用的公众号

接口配置信息URL+Token大坑,微信消息接口测试php源码切记要用GB2312的格式

老版的wx_sample.php源码在这里:https://blog.csdn.net/u013289188/article/details/29379555

另外responseMsg()方法里面需要修改掉$postStr的赋值方式

//$postStr = $GLOBALS[“HTTP_RAW_POST_DATA”];

$postStr = file_get_contents(“php://input”);

在win10 command line里面git push缓存remote git repository的用户名密码

git config –global credential.helper store


Posted

in

by

Tags:

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *