測試帳號地址:api
https://mp.weixin.qq.com/debug/cgi-bin/sandboxinfo?action=showinfo&t=sandbox/index安全
https://mp.weixin.qq.com/debug/cgi-bin/sandbox?t=sandbox/loginapp
登陸後進行設置:測試
後臺系統的請求日誌(加粗爲重點,必須和公衆號設置的參數一致):url
appid:測試帳號的appidspa
redirect_uri:是否爲設置的url(http://www.xxx.com)debug
https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx69fxxxxxxxxed8&redirect_uri=http%3a%2f%2fwww.xxx.com%2fvShop%2fdefault&response_type=code&scope=snsapi_base&state=STATE#wechat_redirect 日誌