diff --git a/pkg/service/base.go b/pkg/service/base.go index 19bcabbe..736daaea 100644 --- a/pkg/service/base.go +++ b/pkg/service/base.go @@ -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":