wx.request({ url: '*******', data: { "type":"nearest_village", "district": that.data.district, }, header: {
'content-type': 'application/x-www-form-urlencoded' //这是是重点啊,官方非增删改用'content-type': 'application/json'是没有问题的
},
}, method: 'POST', success: function(res) { //do somethind } })