要检查这些地方, 1: 2: 3:这里要加http、https this.testURL = `https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx54d162c2a94191f1&redirect_uri=${encodeURIComponent('http://xxxxx')}&response_type=code&scope=snsapi_userinfo&state=STATE#wechat_redirect`; 4:这里要把自己添加进去 总结:1,2的ip一样,3要加http