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

修正邮件内容格式化

This commit is contained in:
xiaochong0302 2024-07-04 15:31:00 +08:00
parent 4a5cc68915
commit 36ee91c1cf

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);
}