Skip to content

Commit

Permalink
代码格式和override注释补充
Browse files Browse the repository at this point in the history
  • Loading branch information
ptxl committed Mar 30, 2020
1 parent dac5cd3 commit 45f5a56
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
*/
public interface MailService {

public void sendSimpleMail(String to, String subject, String content);
void sendSimpleMail(String to, String subject, String content);

public void sendHtmlMail(String to, String subject, String content);
void sendHtmlMail(String to, String subject, String content);

public void sendAttachmentsMail(String to, String subject, String content, String filePath);
void sendAttachmentsMail(String to, String subject, String content, String filePath);

public void sendInlineResourceMail(String to, String subject, String content, String rscPath, String rscId);
void sendInlineResourceMail(String to, String subject, String content, String rscPath, String rscId);

}
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ public void sendHtmlMail(String to, String subject, String content) {
* @param content
* @param filePath
*/
@Override
public void sendAttachmentsMail(String to, String subject, String content, String filePath){
MimeMessage message = mailSender.createMimeMessage();

Expand Down Expand Up @@ -116,6 +117,7 @@ public void sendAttachmentsMail(String to, String subject, String content, Strin
* @param rscPath
* @param rscId
*/
@Override
public void sendInlineResourceMail(String to, String subject, String content, String rscPath, String rscId){
MimeMessage message = mailSender.createMimeMessage();

Expand Down

0 comments on commit 45f5a56

Please sign in to comment.