Commit 41a5ce1b by 南千昊

新增枚举

parent ecedeeda
......@@ -8,15 +8,16 @@ import io.geekidea.springbootplus.framework.common.enums.BaseEnum;
* @apiNote 加好友场景
*/
public enum AddFriendSceneEnum implements BaseEnum {
/**
* 1 - 陌生人
*/
// 陌生人
STRANGER(1, "陌生人"),
/**
* 2 - 搜索
*/
SEARCH(2, "搜索");
// 搜索
SEARCH(2, "搜索"),
// 名片
CARD(3, "名片"),
// 二维码
QR_CODE(4, "二维码"),
// 群聊
GROUP_CHAT(5, "群聊");
AddFriendSceneEnum(int code, String desc) {
this.code = code;
......
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