diff --git a/library/email/send.go b/library/email/send.go index c526e6b4..49c3613d 100644 --- a/library/email/send.go +++ b/library/email/send.go @@ -30,7 +30,7 @@ func SendRavenIQTestResult(mail *dbstruct.Email, address, password string) error if err != nil { return err } - attachName := fmt.Sprintf("测评结果.%v", format[:6]) + attachName := fmt.Sprintf("测评结果.%v", format[6:]) m := gomail.NewMessage()