只是一个普通的接口,除了iPhone X,其他手机都能正常返回数据:
wx.request({
url: ‘https://lpz.hylpz.cn/showGoodsCollection.do’,
method: ‘post’,
header: {
‘content-type’: ‘application/x-www-form-urlencoded’
},
data: { openid: openid },
success: function ® {
console.log®
}
})
正常返回数据是这样的:
chartCollection:Array(1)
0:{id: 387, openid: "o4y0P0UQL5ZJ0fbLIZ7PTV******", gId: 93, created: 1517826590000, type: 2, …}
length:1
__proto__:Array(0)
chartCollectionStatus:1
goodsCollectionStatus:1
goodsCollections:[{…}]
__proto__:Object
errMsg:"request:ok"
header:{Server: "nginx/1.12.1", Date: "Fri, 09 Feb 2018 02:23:41 GMT", Content-Type: "application/json;charset=UTF-8", Transfer-Encoding: "chunked", Connection: "keep-alive"}
statusCode:200
__proto__:Object
iPhone X上接口调用了,但是返回500错误,然后是这样的:
奇怪的就是只有iPhone X的这个接口出问题,其他的都没问题…233333…求指教!!