lygttpod / RxHttpUtils

Rxjava+Retrofit封装,便捷使用

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

切换BaseUrl后请求就全部报错了,如果不切换,是正常的

MapleSunFLY opened this issue · comments

commented

请提错误日志信息及全局配置代码和切换URL相关代码

 <html>
 <head><title>400 Bad Request</title></head>
 <body>
 <center><h1>400 Bad Request</h1></center>
 <hr><center>tengine</center>
 </body>
 </html>

ApiFactory.getInstance().setBaseUrl(configMeta.getHost()).clearAllApi();

请求所有接口都报,这个错误,