Failed to convert value of type 'java.lang.String' to required type

DEBUG 微信小程序Java后台

Failed to convert value of type ‘java.lang.String‘ to required type

产生这种条件的原因一般是使用了POST

配置请求头

wx.request({
      url: url,
      method:'POST',
      header: {
        "content-type": "application/x-www-form-urlencoded"
      }
 })
原文地址:https://www.cnblogs.com/masterchd/p/post.html