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

这么好的东西,不继续维护了吗? #56

Open
hzzhitian opened this issue Jul 9, 2018 · 5 comments
Open

这么好的东西,不继续维护了吗? #56

hzzhitian opened this issue Jul 9, 2018 · 5 comments

Comments

@hzzhitian
Copy link

这么好的东西,不继续维护了吗?

@singro
Copy link
Owner

singro commented Jul 9, 2018 via email

@hzzhitian
Copy link
Author

👍 最近在学习MVVM,组件化;想在你这个项目上练手 哈哈

@singro
Copy link
Owner

singro commented Jul 13, 2018

不错啊。。有兴趣的话可以顺便帮我解决下登录问题。
目前两个方案:

  1. 支持图形验证码登录
  2. 登录界面换成 webView 需要识别登录状态给客户端回调关闭页面.

@hzzhitian
Copy link
Author

可以啊,有没有更多信息:
1,之前的登录为什么不行了?
2,支持图形验证码登录这个方案的具体api请求是什么?改的话,是改工程里的那个文件?

@singro
Copy link
Owner

singro commented Jul 16, 2018

没有接口,都是通过模拟网页请求实现的。 以前就是个普通的 form,现在加了图形验证码,需要把网页内的图片、请求解出来,加个输入验证码的界面,再提交登录。
具体代码可以看 v2ex/v2ex-iOS/Managers/V2DataManager.m 中
- (NSURLSessionDataTask *)UserLoginWithUsername:(NSString *)username password:(NSString *)password success:(void (^)(NSString *message))success failure:(void (^)(NSError *error))failure;

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