|
@@ -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){
|