guohongjin
2024-05-15 5b7639f0bd9e056738ec15100ed0532e965c6cd5
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
package cn.stylefeng.roses.kernel.im.rongcloud.enums;
 
import lombok.Getter;
 
/**
 * IM发送异常相关枚举
 */
@Getter
public enum RongCloudImResultEnum {
 
 
    /**
     * 初始化客户端错误,accessKey错误
     */
    INIT_IM_CLIENT_ERROR("SMS_CLIENT_INIT_ERROR", "初始化im客户端错误,accessKey错误"),
 
    /**
     * 请求参数为空
     */
    PARAM_NULL("NULL", "请求参数为空"),
 
    /**
     * 请求成功
     */
    OK("OK", "请求成功");
 
    private String code;
 
    private final String message;
 
    RongCloudImResultEnum(String code, String message) {
        this.code = code;
        this.message = message;
    }
}