Coder Social home page Coder Social logo

Comments (5)

singro avatar singro commented on July 19, 2024

from v2ex.

hzzhitian avatar hzzhitian commented on July 19, 2024

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

from v2ex.

singro avatar singro commented on July 19, 2024

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

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

from v2ex.

hzzhitian avatar hzzhitian commented on July 19, 2024

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

from v2ex.

singro avatar singro commented on July 19, 2024

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

from v2ex.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.