苹果机正常能接到:
安卓机测试就成了这样
为什么会,拿不到接口数据
检查下证书
wx.request({
url: 'https://www.temet.cn/', //仅为示例,并非真实的接口地址
data: {
keys: key
},
header: {
'content-type': 'application/json' // 默认值
success(res) {
console.log(res.data)
不发个代码,猜不到。