增加移动端推送title content

This commit is contained in:
15683799673
2025-09-13 16:47:44 +08:00
parent 791195e2c6
commit 07a64e5395
3 changed files with 35 additions and 1 deletions

View File

@@ -21,6 +21,17 @@ public interface RemoteWebSocketMessageService {
*/
void publishMessage(List<Long> sessionKey, WebSocketMsgType webSocketMsgType, String data);
/**
* 推送移动端消息
*
* @param sessionKey session主键 一般为用户id
* @param webSocketMsgType webSocket消息类型
* @param title 推送title
* @param content 推送内容
* @param data 推送数据
*/
void pushMobileMessage(List<Long> sessionKey, WebSocketMsgType webSocketMsgType, String title, String content, String data);
/**
* 发布订阅的消息(群发)
*