From afdfa4c413dabe9409fda9e3e59c324a5063ce60 Mon Sep 17 00:00:00 2001 From: xmdhs Date: Sat, 25 Nov 2023 17:47:51 +0800 Subject: [PATCH] fix mail subject --- service/email/email.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service/email/email.go b/service/email/email.go index 53a7496..d3e5d80 100644 --- a/service/email/email.go +++ b/service/email/email.go @@ -147,7 +147,7 @@ func (e EmailService) SendVerifyUrl(ctx context.Context, email string, interval return fmt.Errorf("SendVerifyUrl: %w", err) } - err = e.SendEmail(ctx, email, "验证你的邮箱", body.String()) + err = e.SendEmail(ctx, email, subject, body.String()) if err != nil { return fmt.Errorf("SendVerifyUrl: %w", err) }