From 0cabac2130b8ed585edafca76dc881269e3ec0cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=9C=E5=B0=BD=E5=A4=A9=E6=98=8E?= <30620547+chentianming11@users.noreply.github.com> Date: Tue, 31 May 2022 17:33:41 +0800 Subject: [PATCH] Update README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index a28782e..fa3d019 100644 --- a/README.md +++ b/README.md @@ -437,10 +437,10 @@ retrofit: 如果需要将同一个请求的日志聚合在一起打印,可配置`AggregateLoggingInterceptor`。 ```java - @Bean +@Bean public LoggingInterceptor loggingInterceptor(RetrofitProperties retrofitProperties){ - return new AggregateLoggingInterceptor(retrofitProperties.getGlobalLog()); - } + return new AggregateLoggingInterceptor(retrofitProperties.getGlobalLog()); +} ``` ### 请求重试