diff --git a/OAUTH.md b/OAUTH.md index 7cb9329..debb399 100644 --- a/OAUTH.md +++ b/OAUTH.md @@ -40,7 +40,7 @@ val oauthClientInterceptor = OAuthClientInterceptor(AuthManagement) //3.添加到OkHttp中 val okHttpClient = OkHttpClient.Builder() ... - .addInterceptor(OAuthClientInterceptor(AuthManagement)) + .addInterceptor(oauthClientInterceptor) ... .build() -``` \ No newline at end of file +```