mirror of https://github.com/testerSunshine/12306
update readme
parent
c9de32463a
commit
ea84e826b7
|
@ -49,7 +49,10 @@
|
|||
排队等待时间预计还剩 -4 ms
|
||||
恭喜您订票成功,订单号为:EB52743573, 请立即打开浏览器登录12306,访问‘未完成订单’,在30分钟内完成支付!
|
||||
```
|
||||
|
||||
- 使用帮助:
|
||||
- 测试邮箱是否可用
|
||||
- 测试下单接口是否可用,有两个下单接口,随便用哪个都ok
|
||||
- 如果下载验证码过期或者下载失败的问题,应该是12306封ip的策略,多重试几次,12306现在封服务器(阿里云和腾讯云)ip比较严重,尽量不要放在服务器里面
|
||||
- [更新日志](Update.md)
|
||||
|
||||
|
||||
|
|
|
@ -22,7 +22,6 @@ class getPassengerDTOs:
|
|||
|
||||
def sendGetPassengerDTOs(self):
|
||||
getPassengerDTOsResult = self.session.httpClint.send(self.session.urls["get_passengerDTOs"], {})
|
||||
getPassengerDTOsResult["data"].get("normal_passengers", False)
|
||||
if getPassengerDTOsResult.get("data", False) and getPassengerDTOsResult["data"].get("normal_passengers", False):
|
||||
normal_passengers = getPassengerDTOsResult['data']['normal_passengers']
|
||||
_normal_passenger = [normal_passengers[i] for i in range(len(normal_passengers)) if
|
||||
|
|
Loading…
Reference in New Issue