diff --git a/invoice/src/main/java/com/djy/invoice/service/impl/InvLinkInfoServiceImpl.java b/invoice/src/main/java/com/djy/invoice/service/impl/InvLinkInfoServiceImpl.java index b677dab..994c6b9 100644 --- a/invoice/src/main/java/com/djy/invoice/service/impl/InvLinkInfoServiceImpl.java +++ b/invoice/src/main/java/com/djy/invoice/service/impl/InvLinkInfoServiceImpl.java @@ -1176,7 +1176,7 @@ public class InvLinkInfoServiceImpl implements InvLinkInfoService { List listEmail = new ArrayList<>(); SendEmail email = new SendEmail(); - email.setSendTo(SendTo); + email.setSendTo(link.getEmail()); email.setTitle(subject); email.setBody(content); email.setSmtpConfig(SmtpConfig);