积分:完善积分获得、退还、使用 相关逻辑

This commit is contained in:
owen
2023-09-23 14:11:16 +08:00
parent dc46dff62c
commit 052328c5fa
24 changed files with 383 additions and 87 deletions

View File

@ -23,7 +23,8 @@ public enum PromotionTypeEnum implements IntArrayValuable {
REWARD_ACTIVITY(5, "满减送"),
MEMBER(6, "会员折扣"),
COUPON(7, "优惠劵")
COUPON(7, "优惠劵"),
POINT(8, "积分")
;
public static final int[] ARRAYS = Arrays.stream(values()).mapToInt(PromotionTypeEnum::getType).toArray();