From 2e38bc76db3e928d4b2807fc4b21dee3da26a5d6 Mon Sep 17 00:00:00 2001 From: Helius <wangdoubleone@gmail.com> Date: Mon, 09 Aug 2021 11:32:42 +0800 Subject: [PATCH] fix --- gc-core/src/main/java/com/xzx/gc/entity/ScoreDetails.java | 12 +++++++++++- 1 files changed, 11 insertions(+), 1 deletions(-) diff --git a/gc-core/src/main/java/com/xzx/gc/entity/ScoreDetails.java b/gc-core/src/main/java/com/xzx/gc/entity/ScoreDetails.java index d49971d..a604357 100644 --- a/gc-core/src/main/java/com/xzx/gc/entity/ScoreDetails.java +++ b/gc-core/src/main/java/com/xzx/gc/entity/ScoreDetails.java @@ -16,8 +16,18 @@ //用户ID private String userId; - //交易类型 1-用户充值2-集物员支付3-用户兑换所得4-用户消费5-消费退回6-管理员充值7-其他 + //交易类型 1-用户充值2-集物员支付3-用户兑换所得4-用户消费5-消费退回6-管理员充值7-其他 8-邀请后首单返利 9-分享朋友圈 10-邀请奖励 private Integer type; + public static final Integer SCORE_TYPE_USER_RECHARGE = 1; + public static final Integer SCORE_TYPE_PAY = 2; + public static final Integer SCORE_TYPE_EXCHANGE = 3; + public static final Integer SCORE_TYPE_SHOPPING = 4; + public static final Integer SCORE_TYPE_SHOPPING_RETURN = 5; + public static final Integer SCORE_TYPE_ADMIN_RECHARGE = 6; + public static final Integer SCORE_TYPE_OTHER = 7; + public static final Integer SCORE_TYPE_INVITE_FIRST_ORDER = 8; + public static final Integer SCORE_TYPE_SHARE_MOMENTS = 9; + public static final Integer SCORE_TYPE_INVITE = 10; //原始积分 private BigDecimal originalScore; -- Gitblit v1.9.1