Updata:去除多余代码

This commit is contained in:
jiaji.H 2026-03-11 21:05:38 +08:00
parent cbbb5acbea
commit 8e50e029b1

View File

@ -176,9 +176,6 @@ func NotLoginError(c *gin.Context, err error) {
}
func translateErrorMessage(c *gin.Context, message string) string {
if message == "It was sent. The verification code is still working" {
return "已经发送过,验证码尚可用"
}
lang := c.GetHeader("Accept-Language")
switch lang {
case "zh-CN":