1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- package org.jeecg.common.constant;
- /**
- * @Description: Websocket常量类
- * @author: taoyan
- * @date: 2020年03月23日
- */
- public class WebsocketConst {
- /**
- * 消息json key:cmd
- */
- public static final String MSG_CMD = "cmd";
- /**
- * 消息json key:msgId
- */
- public static final String MSG_ID = "msgId";
- /**
- * 消息json key:msgTxt
- */
- public static final String MSG_TXT = "msgTxt";
- /**
- * 消息json key:userId
- */
- public static final String MSG_USER_ID = "userId";
- /**
- * 消息类型 heartcheck
- */
- public static final String CMD_CHECK = "heartcheck";
- /**
- * 消息类型 user 用户消息
- */
- public static final String CMD_USER = "user";
- /**
- * 消息类型 topic 系统通知
- */
- public static final String CMD_TOPIC = "topic";
- /**
- * 消息类型 email
- */
- public static final String CMD_EMAIL = "email";
- /**
- * 消息类型 meetingsign 会议签到
- */
- public static final String CMD_SIGN = "sign";
- }
|