Browse Source

1.修改系统公告测试

sss 3 years ago
parent
commit
eded19e571

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

@@ -101,7 +101,8 @@ 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(Joiner.on(",").join(userRepository.getAllUsername()));
+            dmMessageSendLog.setUsernames("yingli");
             dmMessageSendLog.setCreateTime(simpleDateFormat.format(System.currentTimeMillis()));
             Boolean isSuccess = SendMessageUtils.sendChatMessage(dmMessageSendLog);
             if(isSuccess){