request合法域名,配制成这样https://www.example.com
wx.request(url:‘https://www.example.com/getlive.php’)
为何会请求失败?
这个我知道,我就是问wx.request()的URL配置成https://www.example.com/getlive.php为何会请求失败
host+port+path本来就不带前面的协议
配置成“www.example.com”即可