fix mailccs 为null

master
luoyang 5 years ago
parent e8b67ee3be
commit 23297de309

@ -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);
if (StringUtils.isNotBlank(mailCcs)) {
mailClient.put("mailcc", mailCcs);
}
mailClients.add(mailClient);
noticeBean.setMailClients(mailClients);
noticeBean.setContent(content);

Loading…
Cancel
Save