Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

baseUrl未更改 #381

Open
w7532595 opened this issue Sep 25, 2020 · 2 comments
Open

baseUrl未更改 #381

w7532595 opened this issue Sep 25, 2020 · 2 comments

Comments

@w7532595
Copy link

我用dagger2在application里面做了一个全局单例网络请求,照着官方demo在GlobalConfiguration中的applyOptions()方法中配置了builder.baseurl(xxxApi.BaseUrl),但是请求地址还是https://api.github.com

@ChadDaBin
Copy link

同问 @JessYanCoding

@JessYanCoding
Copy link
Owner

参照 Demo 看注释

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants