promotion:实现部分优惠劵模板的前端列表

This commit is contained in:
YunaiV
2022-11-01 22:31:07 +08:00
parent 3c10058dbd
commit dc51a93533
7 changed files with 103 additions and 102 deletions

View File

@ -15,8 +15,8 @@ import java.util.Arrays;
@AllArgsConstructor
public enum PromotionDiscountTypeEnum implements IntArrayValuable {
PRICE(1, ""), // 具体金额
PERCENT(2, ""), // 百分比
PRICE(1, ""), // 具体金额
PERCENT(2, ""), // 百分比
;
public static final int[] ARRAYS = Arrays.stream(values()).mapToInt(PromotionDiscountTypeEnum::getType).toArray();