|
@@ -36,9 +36,10 @@ public class MessageUtils {
|
|
public void sendPlatformSystemNotifyMessage(NotifySendSingleToUserReqDTO reqDTO) {
|
|
public void sendPlatformSystemNotifyMessage(NotifySendSingleToUserReqDTO reqDTO) {
|
|
// 参数不变,更改方法
|
|
// 参数不变,更改方法
|
|
// 发送系统消息
|
|
// 发送系统消息
|
|
- CommonConstants.notifySysUserId.stream()
|
|
|
|
- .map(userId -> notifyMessageSendApi.sendSingleMessageToAdmin(reqDTO))
|
|
|
|
- .collect(Collectors.toList());
|
|
|
|
|
|
+ for (Long userId : CommonConstants.notifySysUserId) {
|
|
|
|
+ reqDTO.setUserId(userId);
|
|
|
|
+ notifyMessageSendApi.sendSingleMessageToAdmin(reqDTO);
|
|
|
|
+ }
|
|
}
|
|
}
|
|
|
|
|
|
/**
|
|
/**
|