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

🔒 在登录中新加了一个多次登录失败上锁的功能 #495

Closed
wants to merge 1 commit into from

Conversation

QTwawa
Copy link
Contributor

@QTwawa QTwawa commented Oct 21, 2024

No description provided.

40004->throw IllegalStateException("tried too many times")
else->throw IllegalStateException("authentication error")
}
}
Copy link
Contributor

Choose a reason for hiding this comment

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

最好在这个 if (response.code() == 400) 块的最后添加异常抛出语句,保证只要进入了这个代码块,端上一定会感知到明显的提示

@QTwawa QTwawa closed this Oct 21, 2024
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.

None yet

2 participants