代码跑到这里会报
com.alibaba.fastjson.JSONException:syntax error,pos 1,json:<R><code>-1</code><msg>{"code":500,"msg":xxxxxxxxxx}</msg><data/></R>
请求加上post.header("Accept","application/json, text/plain, */*");正常解析JSON
代码跑到这里会报
com.alibaba.fastjson.JSONException:syntax error,pos 1,json:<R><code>-1</code><msg>{"code":500,"msg":xxxxxxxxxx}</msg><data/></R>
请求加上post.header("Accept","application/json, text/plain, */*");正常解析JSON