请求服务时出错
代码:
getDept: function (pid) {
var that=this;
var param = “<PARAM><BISID>1001</BISID></PARAM>”
wx.request({
url: ‘https://localhost:8080/wx_hh/queryAction!getList.action’,
data: {
param:param
},
header: {
‘content-type’: ‘application/json’
},
success: function (res) {
console.log(res.data)
}
})
},