From bf6989e1f9cc614cf0439f048280cbcdb78d4009 Mon Sep 17 00:00:00 2001 From: peng <peng.com> Date: 星期五, 29 八月 2025 02:12:03 +0800 Subject: [PATCH] 提交本地代码 --- framework/src/main/java/cn/lili/modules/lmk/enums/general/PrizeUserActionEnum.java | 20 +++++++++++++++----- 1 files changed, 15 insertions(+), 5 deletions(-) diff --git a/framework/src/main/java/cn/lili/modules/lmk/enums/general/PrizeUserActionEnum.java b/framework/src/main/java/cn/lili/modules/lmk/enums/general/PrizeUserActionEnum.java index 95f4d32..de039e9 100644 --- a/framework/src/main/java/cn/lili/modules/lmk/enums/general/PrizeUserActionEnum.java +++ b/framework/src/main/java/cn/lili/modules/lmk/enums/general/PrizeUserActionEnum.java @@ -10,10 +10,20 @@ /** * 鑾峰彇浼樻儬鍗风殑鏂瑰紡 */ - SYSTEM("绯荤粺璧犻��"), - BUY("璐拱"), - SHARE("鍒嗕韩"), - SEE_SHOP("鐪嬪晢鍩�"), - SEE_VIDEO("鐪嬭棰�"); + SYSTEM("绯荤粺璧犻��",1), + BUY("璐拱",1), + SHARE("鍒嗕韩",1), + SEE_SHOP("鐪嬪晢鍩�",1), + SEE_VIDEO("鐪嬭棰�",1); private final String description; + private final Integer sendNumber; + + public static PrizeUserActionEnum select(String name) { + for (PrizeUserActionEnum prizeUserActionEnum : values()) { + if (prizeUserActionEnum.name().equals(name)) { + return prizeUserActionEnum; + } + } + return null; + } } -- Gitblit v1.8.0