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

[Proposal]-<网站功能>-<在后端添加查重步骤> #45

Open
linlinzzo opened this issue Jul 14, 2024 · 3 comments
Open

[Proposal]-<网站功能>-<在后端添加查重步骤> #45

linlinzzo opened this issue Jul 14, 2024 · 3 comments
Assignees
Labels
Program V3 Proposal(项目建议) 对现运行项目各个方面的建议或者意见

Comments

@linlinzzo
Copy link
Member

建议方向

网站功能

其他建议方向

No response

建议内容

我们一些自动程序会直接向后端接口发请求,会出现重复的情况。不妨将查重这一步放到v3后端。

不妨规定一个 HTTP 状态码 515 Repeated 来响应重复的请求。

@linlinzzo linlinzzo added the Proposal(项目建议) 对现运行项目各个方面的建议或者意见 label Jul 14, 2024
@wibus-wee
Copy link
Member

我的建议是不要自己定 HTTP Status. 我认为丢个准确的报错提示就好了

@soxft
Copy link
Member

soxft commented Jul 15, 2024

我的建议是不要自己定 HTTP Status. 我认为丢个准确的报错提示就好了

restful 我感觉挺好的吧

@wibus-wee
Copy link
Member

是的啊😯

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Program V3 Proposal(项目建议) 对现运行项目各个方面的建议或者意见
Projects
None yet
Development

No branches or pull requests

4 participants