1
0
mirror of https://gitee.com/koogua/course-tencent-cloud.git synced 2025-06-25 20:17:23 +08:00

修正邮件内容格式化

This commit is contained in:
xiaochong0302 2024-07-04 15:31:00 +08:00
parent 8aaed108b9
commit 56f94d3ea8

View File

@ -29,7 +29,7 @@ class Verify extends MailerService
$content = sprintf('验证码:%s%s 分钟内有效,如非本人操作请忽略。', $code, $minutes);
$subject = $this->formatSubject($subject);
$content = $this->formatSubject($content);
$content = $this->formatContent($content);
return $this->send($email, $subject, $content);
}