AdaKing88
2023-08-23 ae35159387a55199e8ab150ebb97d89d68a235bd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
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";
 
    /**
     * 消息json key:chat
     */
    public static final String MSG_CHAT = "chat";
 
    /**
     * 消息类型 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";
 
}