master
james.zhao 6 years ago
parent 9b9ee268e2
commit 9c2c2222a1

@ -248,7 +248,9 @@ public class MailServiceImp implements MailService {
Key aesKey = AESCrypt.fromKeyString(Base64.decodeBase64(settleAESKey)); Key aesKey = AESCrypt.fromKeyString(Base64.decodeBase64(settleAESKey));
String mailPwd = new String(AESCrypt.decrypt(Base64.decodeBase64(mailPwdEncrypted), aesKey), StandardCharsets.UTF_8); String mailPwd = new String(AESCrypt.decrypt(Base64.decodeBase64(mailPwdEncrypted), aesKey), StandardCharsets.UTF_8);
noticeBean.setPassword(mailPwd); noticeBean.setPassword(mailPwd);
noticeBean.setAttachFiles(attachFiles); if(attachFiles!=null){
noticeBean.setAttachFiles(attachFiles);
}
String postUrl = mailHost + "/mail/single?" + generateMailSignParam(); String postUrl = mailHost + "/mail/single?" + generateMailSignParam();
HttpRequestResult result = null; HttpRequestResult result = null;
try { try {

Loading…
Cancel
Save