1. 优化邮件的代码;2. 修复邮件在多租户下的报错

This commit is contained in:
YunaiV
2023-01-28 20:08:03 +08:00
parent c44ecf08ff
commit aaf84aae03
3 changed files with 11 additions and 9 deletions

View File

@@ -153,7 +153,7 @@ class MailSendServiceImplTest extends BaseMockitoUnitTest {
// mock 方法
// 调用,并断言异常
assertServiceException(() -> mailSendService.buildTemplateParams(template, templateParams),
assertServiceException(() -> mailSendService.checkTemplateParams(template, templateParams),
MAIL_SEND_TEMPLATE_PARAM_MISS, "code");
}