Commit e2e9a4b1 by 穆龙飞

modify:add log

parent 3e9537fb
Pipeline #43939 failed with stages
in 1 minute 37 seconds
......@@ -6,6 +6,7 @@ import com.netease.mail.yanxuan.change.integration.email.enums.EmailTypeEnum;
import com.netease.mail.yanxuan.change.integration.email.service.IEmailService;
import com.netease.mail.yanxuan.change.integration.email.service.UasClientService;
import lombok.extern.slf4j.Slf4j;
import org.apache.logging.log4j.util.Strings;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Async;
......@@ -19,6 +20,7 @@ import java.util.Map;
import java.util.stream.Collectors;
@Service
@Slf4j
public class EmailServiceImpl implements IEmailService {
@Autowired
......@@ -49,6 +51,7 @@ public class EmailServiceImpl implements IEmailService {
if (Strings.isNotBlank(subjectParam)) {
subject = String.format(subject, subjectParam);
}
log.info("send email param: {}, {}, {}, {}", subject, content, toList, ccList);
uasClient.sendEmail(subject, content, toList, ccList, null);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment