1 先检查网页的授权域名 不要带http:// 2 检查下自己的appid是否正确,最好复制 3.还是报错的话,拼的时候,就是二级域名要带http:// http://a99dd9ea.ngrok.io 正确:https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx302e0f37489d7c32&redirect_uri=a99dd9ea.ngrok.io/sell/weixin/auth&response_type=code&scope=snsapi_userinfo&state=STATE#wechat_redire c