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

[feat] 增加抢票数量参数 #11

Merged
merged 3 commits into from
May 15, 2022
Merged

Conversation

oneeeeeeeeeee
Copy link
Contributor

增加抢票数量参数
使用了合并提交(不知道是不是这样提交,望大大审批)

@ronething ronething changed the title shuliang [feat] 增加抢票数量参数 May 11, 2022
@oneeeeeeeeeee
Copy link
Contributor Author

大大,更新了。我针对的情况是在没有输入ticketNum的时候,就默认1。

@ronething
Copy link
Owner

你有测试过吗。

@oneeeeeeeeeee
Copy link
Contributor Author

测试了。下午那个针对的是链接无输入ticketNum的情况如:http://127.0.0.1:9997/buy?event=174305&ticketId=2ade89814e2ca6b9cc4e12e187e8e111&cron_time=2022 05 20 22 00 00
image
现在还增加了一个ticketNum为空的情况http://127.0.0.1:9997/buy?event=174305&ticketId=2ade89814e2ca6b9cc4e12e187e8e111&cron_time=2022 05 20 22 00 00&ticketNum=
image
测试反馈都会使ticketNum=1

@oneeeeeeeeeee
Copy link
Contributor Author

还有ticketNum有输入的情况也是没问题的
image

@ronething
Copy link
Owner

就这先这么写吧,虽然可以再简单优化一下。

@ronething ronething merged commit 5252150 into ronething:main May 15, 2022
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

Successfully merging this pull request may close these issues.

2 participants