安卓Retrofit问题记录:
PostMan接口请求成功,Retrofit请求结果却走了onFailure方法,错误信息为End of input at line 1 column 1 path $,经排查是因为后台接口没有返回值!
处理方式:
接口回调使用ResponseBody接收可以解决问题
安卓Retrofit问题记录:
PostMan接口请求成功,Retrofit请求结果却走了onFailure方法,错误信息为End of input at line 1 column 1 path $,经排查是因为后台接口没有返回值!
处理方式:
接口回调使用ResponseBody接收可以解决问题