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 #15

Open
JzwOnly opened this issue Nov 29, 2019 · 1 comment
Open

请问如何在特定的情况下 切换baseUrl #15

JzwOnly opened this issue Nov 29, 2019 · 1 comment

Comments

@JzwOnly
Copy link

JzwOnly commented Nov 29, 2019

No description provided.

@JzwOnly JzwOnly changed the title 请问如何在特定的情况下 切换baseUr 请问如何在特定的情况下 切换baseUrl Nov 29, 2019
@CoderMikeHe
Copy link
Owner

可以将MHHTTpService.m- (instancetype)initWithBaseURL:(NSURL *)url sessionConfiguration:(nullable NSURLSessionConfiguration *)configuration 暴露在.h出来,然后用实例对象访问数据,而不是使用单例。

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

2 participants