网页授权获取code,Redirect带不回参数
在网页授权,第一步:获取code,请求的URL为: https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx8b4052fd6c49xxxx&redirect_uri=https%3A%2F%2Fcrm.uni-trend.com.cn%2Fwxcrm%2Finit.html&response_type=code&scope=snsapi_base&state=ms#wechat_redirect 返回Redirect URL,带不上code参数 [图片] 但如果在redirect_uri中加入%0A,返回可带上参数,但浏览器无法解析 https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx8b4052fd6c49xxxx&redirect_uri=https%3A%2F%2Fcrm.uni-trend.com.cn%2Fwxcrm%2Finit.html%0A&response_type=code&scope=snsapi_base&state=ms#wechat_redirect [图片] 我是根据教程操作的,请问是URL编写的问题吗? 盼复,谢谢。