浏览代码

修改系统公告

sss 3 年之前
父节点
当前提交
eba7551535

+ 1 - 2
eladmin-system/src/main/java/me/zhengjie/modules/dm/announce/service/impl/DmAnnounceServiceImpl.java

@@ -101,8 +101,7 @@ public class DmAnnounceServiceImpl implements DmAnnounceService {
             JSONObject sendContentJSON = new JSONObject();
             sendContentJSON.put("text",resources.getAnnounceContent());
             dmMessageSendLog.setSendContent(sendContentJSON);
-            //dmMessageSendLog.setUsernames(Joiner.on(",").join(userRepository.getAllUsername()));
-            dmMessageSendLog.setUsernames("yingli");
+            dmMessageSendLog.setUsernames(Joiner.on(",").join(userRepository.getAllUsername()));
             dmMessageSendLog.setCreateTime(simpleDateFormat.format(System.currentTimeMillis()));
             Boolean isSuccess = SendMessageUtils.sendChatMessage(dmMessageSendLog);
             if(isSuccess){