12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- 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";
- /**
- * 消息类型 新闻发布/取消
- */
- public static final String NEWS_PUBLISH = "publish";
- }
|