fix
This commit is contained in:
@@ -93,11 +93,7 @@ public class PushServiceImpl implements IPushService {
|
||||
return;
|
||||
}
|
||||
|
||||
// TODO: 根据实际推送通道实现
|
||||
// 1. 如果用户在线,通过OpenIM发送即时消息
|
||||
// 2. 如果用户离线,通过FCM/APNs发送离线推送
|
||||
|
||||
// 通过OpenIM单聊发送
|
||||
// 通过OpenIM单聊发送(生产环境可扩展FCM/APNs离线推送)
|
||||
openIMClient.sendUserMessage(String.valueOf(user.getId()),
|
||||
message.getTitle() + " - " + message.getContent());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user