Debug 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"
      }
 })
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章