feat:临时打开网络日志

This commit is contained in:
Max
2023-11-11 14:35:03 +08:00
parent b45a984ec5
commit 0728408540

View File

@@ -405,7 +405,7 @@ public class App extends BaseApp {
httpParams.put("androidId", MD5Utils.getMD5String(Settings.Secure.getString(context.getContentResolver(), Settings.Secure.ANDROID_ID)));
httpParams.put("channel", AppMetaDataUtil.getChannelID());
RxNet.init(context)
.debug(BuildConfig.DEBUG)
.debug(true)
.setBaseUrl(url)
.addInterceptors(new ParamsInterceptor(httpParams))
.addInterceptors(new NoParamsInterceptor())//注意:拦截器的添加顺序,请求的拦截顺序