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"
      }
 })
posted @ 2020-12-31 13:21  Kindear  阅读(3224)  评论(0编辑  收藏  举报