feat: adjust deploy password and login limit

This commit is contained in:
engigu
2026-02-10 14:19:32 +08:00
parent 70a66c4693
commit b855400cec
6 changed files with 67 additions and 5 deletions
+4
View File
@@ -50,6 +50,10 @@ func NotFound(c *gin.Context, msg string) {
Error(c, 404, msg)
}
func TooManyRequests(c *gin.Context, msg string) {
Error(c, 429, msg)
}
func ServerError(c *gin.Context, msg string) {
Error(c, 500, msg)
}