retrofit2.协程用法下 获取errorbody
参考链接:https://stackoverflow.com/questions/55780644/how-to-handle-error-response-with-retrofit-coroutines需求:网络请求。后台返回500。但是需要显示body的json{"code":201,"data":null,"message":"劵码非法:【yyy】","success":fa...
原创
2019-11-26 17:54:07 ·
1126 阅读 ·
0 评论