产生这种条件的原因一般是使用了POST
配置请求头
wx.request({
url: url,
method:‘POST‘,
header: {
"content-type": "application/x-www-form-urlencoded"
}
})
Debug Failed to convert value of type 'java.lang.String' to required type
原文:https://www.cnblogs.com/masterchd/p/14216024.html