vue hash模式下,页面地址https://web.abctougu.cn/#/sharenewsdetail?id=5
公众号安全域名配的是web.abctougu.cn
截掉 “#”号后传给服务端加签的地址是https://web.abctougu.cn/
微信打开报invalid url domain
如果传给服务端的地址是https://web.abctougu.cn
微信打开报invalid signature
不知道这个地址要怎么处理给服务端
网友回复
شەرەر:
对地址进行编码(encodeURI)