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

1.68登陆问题解决办法 #234

Open
byrain opened this issue Oct 22, 2019 · 3 comments
Open

1.68登陆问题解决办法 #234

byrain opened this issue Oct 22, 2019 · 3 comments

Comments

@byrain
Copy link

byrain commented Oct 22, 2019

cookie过期导致的。解决办法:

  1. chrome登陆一下12306
  2. 获取到 RAIL_EXPIRATION 和 RAIL_DEVICEID
  3. 修改 Service+Login.swift 里的 cookie1 和 cookie2

登陆成功日志:
2019-10-22 20:30:35.259267+0800 订票助手[63492:16960720] > 订票助手 Version: 1.6.8 Build: 35 PID: 63492
2019-10-22 20:30:35.259319+0800 订票助手[63492:16960720] > XCGLogger Version: 6.1.0 - Level: Debug
2019-10-22 20:30:35.259969+0800 订票助手[63492:16960720] > Application start
2019-10-22 20:30:35.260095+0800 订票助手[63492:16960720] > dama = true
2019-10-22 20:30:38.504562+0800 订票助手[63492:16960720] > -> login isAuto=false
2019-10-22 20:30:47.296268+0800 订票助手[63492:16960720] > <- login

WechatIMG418

@xigua0227
Copy link

超级感谢,我找了半天也不知道具体在哪个文件底下,想问下1.6.8好用不,第一次使用

@xigua0227
Copy link

想问一下本地文件启动的话具体哪个文件是启动的呀

@Cheerio959
Copy link

cookie过期导致的。解决办法:

  1. chrome登陆一下12306
  2. 获取到 RAIL_EXPIRATION 和 RAIL_DEVICEID
  3. 修改 Service+Login.swift 里的 cookie1 和 cookie2

登陆成功日志:
2019-10-22 20:30:35.259267+0800 订票助手[63492:16960720] > 订票助手 Version: 1.6.8 Build: 35 PID: 63492
2019-10-22 20:30:35.259319+0800 订票助手[63492:16960720] > XCGLogger Version: 6.1.0 - Level: Debug
2019-10-22 20:30:35.259969+0800 订票助手[63492:16960720] > Application start
2019-10-22 20:30:35.260095+0800 订票助手[63492:16960720] > dama = true
2019-10-22 20:30:38.504562+0800 订票助手[63492:16960720] > -> login isAuto=false
2019-10-22 20:30:47.296268+0800 订票助手[63492:16960720] > <- login

WechatIMG418

您好,第二步已经获取到了,但是没有找到那个swift文件,请问是在哪里呢?
能否详细说一下? 感谢!

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