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

几个问题 #8

Open
echozhanglx opened this issue Aug 29, 2018 · 4 comments
Open

几个问题 #8

echozhanglx opened this issue Aug 29, 2018 · 4 comments

Comments

@echozhanglx
Copy link

老哥 我用了一下 很好用 有几个提议 下面的代码 老哥可能忘记改了 导致除了2等座其他座位没法下单

if (seatNameNode != null && "二等座".equals(seatNameNode.asText().trim())) {

还有这个这个API有文档吗?

用API去取车站代码这个地方貌似响应很慢 经常取不出来 会导致接下来去看车票信息的API网址出错 所以可能自己做一个词典可能会比较快 当然也很麻烦 哈哈哈

还有就是访问API的时候 TIME OUT是不是有点太短了 感觉经常TIME OUT 主要还是这个API回应太慢

总体来说 超级棒!!

@echozhanglx
Copy link
Author

还有 一次可以下多人订单么?

@YeautyYE
Copy link
Owner

首先感谢你对这个项目的认可~
那个下单的代码我测试后就忘记改了,实在抱歉。
其实我一开始也想自己做一个词典,但是考虑到网站哪天要是有些对应的词进行了替换,那就会变得不可用了。关于time out的问题,暂时先把超时时间改大点。
对于一次多个人下单,下个版本会加上。

@echozhanglx
Copy link
Author

嗯嗯 感谢回答
请问这个API有文档吗

@YeautyYE
Copy link
Owner

这个没文档

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