Commit 806c1ff5 by 罗长华

调整ChatSettingTypeEnum code类型

parent 4b237125
......@@ -16,22 +16,22 @@ public enum ChatSettingTypeEnum implements BaseEnum {
/**
* 1-置顶
*/
TOP(1, "置顶"),
TOP("TOP", "置顶"),
/**
* 2-消息免打扰
*/
DO_NOT_DISTURB(2, "消息免打扰"),
DO_NOT_DISTURB("DO_NOT_DISTURB", "消息免打扰"),
;
ChatSettingTypeEnum(int code, String desc) {
ChatSettingTypeEnum(String code, String desc) {
this.code = code;
this.desc = desc;
}
@JsonValue
@EnumValue
private final Integer code;
private final String code;
private final String desc;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment