wx.login获取openid,本地服务器返回res.data为空值?
同一套前端和后端代码,服务端获取openid的login.php放在阿里云主机上能获取到openid,同一个文件放在本地服务器上就获取不到openid,res.data为空值,难搞哦,有大神知道什么原因么 data: ""
header: {Date: "Sun, 24 May 2020 03:08:41 GMT", Server: "Apache/2.4.38 (Win64) OpenSSL/1.1.1b PHP/7.3.2", X-Powered-By: "PHP/7.3.2", Content-Length: "0", Keep-Alive: "timeout=5, max=100", …}
statusCode: 200
cookies: []
errMsg: "request:ok"