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

阻止用户重复发送相同帖子 #28

Closed
zgq354 opened this issue Sep 7, 2021 · 1 comment
Closed

阻止用户重复发送相同帖子 #28

zgq354 opened this issue Sep 7, 2021 · 1 comment
Assignees
Labels
enhancement New feature or request
Projects

Comments

@zgq354
Copy link
Member

zgq354 commented Sep 7, 2021

同这个场景:#27

在一些出错场景下可能帖子已写入,但报了错误,用户反复点击提交,导致帖子反复增加的问题。

一种解决方式是:
在提交时候,检测用户最新一个帖子,如果完全相同,就抛出错误阻止再提交。

@zgq354 zgq354 added the enhancement New feature or request label Sep 7, 2021
@zgq354 zgq354 added this to To do in 0xFFFF Dev Sep 7, 2021
@zgq354 zgq354 moved this from To do to In progress in 0xFFFF Dev Sep 8, 2021
@zgq354 zgq354 self-assigned this Sep 8, 2021
@zgq354
Copy link
Member Author

zgq354 commented Sep 24, 2021

已更新,检测10分钟内用户发的新帖子,然后判断内容触发频次限制

@zgq354 zgq354 closed this as completed Sep 24, 2021
@zgq354 zgq354 moved this from In progress to Done in 0xFFFF Dev Sep 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Development

No branches or pull requests

1 participant