Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

增加洛谷题目验证码要求 #41

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

Merged
0f-0b merged 5 commits into 0f-0b:main from opzc35:main
Aug 19, 2025
Merged

增加洛谷题目验证码要求 #41

0f-0b merged 5 commits into 0f-0b:main from opzc35:main
Aug 19, 2025

Conversation

@opzc35
Copy link
Contributor

@opzc35 opzc35 commented Aug 19, 2025

现在洛谷要求部分提交需要验证码,提交题目API同理需要上传验证码信息

Copy link
Owner

@0f-0b 0f-0b left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

有两个疑问:

  • JSON 请求中 captcha 的数据类型是什么?请在 luogu-api.d.tsSubmitCodeRequest 末尾增加一个字段来说明,比如是字符串就写 captcha?: string
  • 要求验证码的题目是否支持提交文件?如果支持,那么请在 file: Blob 后面以相同方式说明验证码字段的名称和类型。

Copy link
Contributor Author

opzc35 commented Aug 19, 2025

done

@opzc35 opzc35 requested a review from 0f-0b August 19, 2025 13:27
opzc35 and others added 2 commits August 19, 2025 21:47
Co-authored-by: ud2 <sjx233@qq.com>
Co-authored-by: ud2 <sjx233@qq.com>
@opzc35 opzc35 requested a review from 0f-0b August 19, 2025 13:48
@0f-0b 0f-0b merged commit b41db98 into 0f-0b:main Aug 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@0f-0b 0f-0b 0f-0b approved these changes

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

AltStyle によって変換されたページ (->オリジナル) /