微信接口的https://api.weixin.qq.com/sns/oauth2/access_token?appid=APPID&secret=SECRET&code=CODE&grant_type=authorization_code报no suitable HttpMessageConverter found for response type


通过code来获取access_token时报no suitable HttpMessageConverter found for response type

 

  微信通过接口返回的result无法直接用JSONObject,要先用String接收,再调用JSONObject.parseObject()来转换回JSONObject再获取里面的数据


免责声明!

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



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