- 部分机型wx.request返回错误状态码400
urlmodel = requestUrl + "PostShipBySapCode?sapcodelist=" + JSON.stringify(that.data.Listmodel) + "&sapLink=" + app.globalData.userno + "&LONGITUDE=" + that.data.longitude + "&LATITUDE=" + that.data.latitude + "&LOCATIONADDRESS=" + that.data.locationAddress wx.request({ url: urlmodel, data: { }, method: "POST", header: { 'content-type': 'application/json' }, success: function (res) { //console.log("123"); console.log(res); if (res.statusCode == 200) { var data = JSON.parse(res.data); if (data.errcode != '00') { wx.showToast({ title: data.errmsg, icon: 'none', duration: 2000 }) } else { wx.showToast({ title: data.errmsg, icon: 'success', duration: 5000 }) } } else { wx.showModal({ title: '提示', content: '服务器返回状态码'+res.statusCode, success: function (res) { if (res.confirm) { return; } else { return; } } }) return; } } })
2019-03-22 - 微信小程序定位问题,大BUG,求救啊,个别手机不行
打开授权设置页,是空白的,有的手机可以,有的手机是空白 代码片段https://developers.weixin.qq.com/s/wFt2cWm87267 [图片] [图片]
2019-03-17 - 微信小程序定位问题
- 当前 Bug 的表现(可附上截图) 无法获取定位 - 预期表现 获取定位,并提示用户授权 - 复现路径 - 提供一个最简复现 Demo
2019-03-16