mall + promotion:增加营销活动的 mock 接口

This commit is contained in:
YunaiV
2023-06-10 17:51:15 +08:00
parent 9e894e0430
commit 4f5ac0edbb
14 changed files with 186 additions and 68 deletions

View File

@@ -17,10 +17,8 @@ public enum TradeOrderTypeEnum implements IntArrayValuable {
NORMAL(0, "普通订单"),
SECKILL(1, "秒杀订单"),
// TODO 芋艿:如下三个字段,名字需要改下,等后面表设计完成后。
KANJIA(2, "砍价订单"),
PINTUAN(3, "拼团订单"),
YUSHOU(4, "预售订单"),
BARGAIN(2, "砍价订单"),
COMBINATION(3, "拼团订单"),
;
public static final int[] ARRAYS = Arrays.stream(values()).mapToInt(TradeOrderTypeEnum::getType).toArray();