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