fix mailccs 为null

master
luoyang 5 years ago
parent 507e95dea6
commit b602e08f00

@ -10,7 +10,7 @@
<modelVersion>4.0.0</modelVersion>
<artifactId>manage</artifactId>
<version>1.0.36</version>
<version>1.0.37</version>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

@ -157,7 +157,9 @@ public class MailServiceImp implements MailService {
List<JSONObject> mailClients = new ArrayList<>();
JSONObject mailClient = new JSONObject();
mailClient.put("mailto", mailTos);
mailClient.put("mailcc", mailCcs);
if (StringUtils.isNotBlank(mailCcs)) {
mailClient.put("mailcc", mailCcs);
}
mailClients.add(mailClient);
noticeBean.setMailClients(mailClients);
noticeBean.setContent(content);

Loading…
Cancel
Save