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"
      }
 })


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM