8795c26485d2a15ade83da67cb06f0ebe9c829ba.svn-base 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. package org.jeecg.common.constant;
  2. /**
  3. * @Description: Websocket常量类
  4. * @author: taoyan
  5. * @date: 2020年03月23日
  6. */
  7. public class WebsocketConst {
  8. /**
  9. * 消息json key:cmd
  10. */
  11. public static final String MSG_CMD = "cmd";
  12. /**
  13. * 消息json key:msgId
  14. */
  15. public static final String MSG_ID = "msgId";
  16. /**
  17. * 消息json key:msgTxt
  18. */
  19. public static final String MSG_TXT = "msgTxt";
  20. /**
  21. * 消息json key:userId
  22. */
  23. public static final String MSG_USER_ID = "userId";
  24. /**
  25. * 消息类型 heartcheck
  26. */
  27. public static final String CMD_CHECK = "heartcheck";
  28. /**
  29. * 消息类型 user 用户消息
  30. */
  31. public static final String CMD_USER = "user";
  32. /**
  33. * 消息类型 topic 系统通知
  34. */
  35. public static final String CMD_TOPIC = "topic";
  36. /**
  37. * 消息类型 email
  38. */
  39. public static final String CMD_EMAIL = "email";
  40. /**
  41. * 消息类型 meetingsign 会议签到
  42. */
  43. public static final String CMD_SIGN = "sign";
  44. /**
  45. * 消息类型 新闻发布/取消
  46. */
  47. public static final String NEWS_PUBLISH = "publish";
  48. }