From 00eca63c5750d4baab3b6832c38f7c45d36e80bf Mon Sep 17 00:00:00 2001 From: Leufolium Date: Fri, 23 Aug 2024 17:07:56 +0800 Subject: [PATCH] 1 --- library/email/send.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()