|
@@ -122,8 +122,7 @@ public class DailyReportServiceImpl extends ServiceImpl<DailyReportMapper, Daily
|
|
|
msgMap.put("businessId", dailyReportDto.getId());
|
|
|
msgMap.put("msg", String.format("%s发布了新日志", userName));
|
|
|
for (DailyReportDetails dailyReportDetails : dailyReportDetailsList) {
|
|
|
- // WebSocketServer.sendInfo(dailyReportDetails.getRecipientId(), 1, msgMap);
|
|
|
-
|
|
|
+// WebSocketServer.sendInfo(dailyReportDetails.getRecipientId(), 1, msgMap);
|
|
|
WebSocketPush.byUser(
|
|
|
PushTypeEnum.MESSAGE,
|
|
|
dailyReportDetails.getRecipientId(),
|
|
@@ -183,8 +182,7 @@ public class DailyReportServiceImpl extends ServiceImpl<DailyReportMapper, Daily
|
|
|
msgMap.put("businessId", id);
|
|
|
msgMap.put("msg", String.format("%s给你分享了日报", username));
|
|
|
for (Long toUserId : toUserIdList) {
|
|
|
- // WebSocketServer.sendInfo(toUserId, 1, msgMap);
|
|
|
-
|
|
|
+// WebSocketServer.sendInfo(toUserId, 1, msgMap);
|
|
|
WebSocketPush.byUser(
|
|
|
PushTypeEnum.MESSAGE,
|
|
|
toUserId,
|