From 996f08cf58d2c3fc71ef4710947cbb0b5a5c046f Mon Sep 17 00:00:00 2001 From: yj <Administrator@192> Date: 星期一, 24 五月 2021 22:12:21 +0800 Subject: [PATCH] 会员等级维护 --- facade-vip/src/main/java/com/ks/vip/pojo/Enums/PayWayEnum.java | 12 +++++++++--- 1 files changed, 9 insertions(+), 3 deletions(-) diff --git a/facade-vip/src/main/java/com/ks/vip/pojo/Enums/PayWayEnum.java b/facade-vip/src/main/java/com/ks/vip/pojo/Enums/PayWayEnum.java index 237d5d3..89a76ca 100644 --- a/facade-vip/src/main/java/com/ks/vip/pojo/Enums/PayWayEnum.java +++ b/facade-vip/src/main/java/com/ks/vip/pojo/Enums/PayWayEnum.java @@ -6,16 +6,22 @@ */ public enum PayWayEnum { - alipay("鏀粯瀹�"), - weChat("寰俊"); + alipay(1,"鏀粯瀹�"), + weChat(2,"寰俊"); + private final int way; private final String desc; - private PayWayEnum(String desc) { + private PayWayEnum(int way, String desc) { + this.way = way; this.desc = desc; } public String getDesc() { return desc; } + + public int getWay() { + return way; + } } -- Gitblit v1.8.0