From a1245c1ed23e6f576d39e8828ad6b98d7cbc0df2 Mon Sep 17 00:00:00 2001 From: KKSU <15274802129@163.com> Date: Thu, 23 Jan 2025 15:33:25 +0800 Subject: [PATCH] refactor(unisoftiot): 删除无用的 API 相关代码- 移除了 Account、Device、Product 等实体类 - 删除了对应的 Mapper 接口和服务类 - 移除了 API 请求相关的工具类和枚举类 --- src/main/java/cc/mrbird/febs/mall/dto/CouponRuleAddDto.java | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/src/main/java/cc/mrbird/febs/mall/dto/CouponRuleAddDto.java b/src/main/java/cc/mrbird/febs/mall/dto/CouponRuleAddDto.java index 7a2c95b..df45fb4 100644 --- a/src/main/java/cc/mrbird/febs/mall/dto/CouponRuleAddDto.java +++ b/src/main/java/cc/mrbird/febs/mall/dto/CouponRuleAddDto.java @@ -5,6 +5,8 @@ import javax.validation.constraints.*; import java.math.BigDecimal; +import java.util.List; + @Data @ApiModel(value = "CouponRuleAddDto", description = "参数类") public class CouponRuleAddDto { @@ -15,6 +17,7 @@ @NotNull(message = "过期天数不能为空") @Min(value = 0, message = "整数字段不能小于0") private Integer expireDay; + private Integer type; //满1000减100,满0减50; //满足金额 @NotNull(message = "满足金额不能为空") @@ -27,4 +30,7 @@ @DecimalMax(value = "10000", inclusive = false, message = "字段不能大于10000") private BigDecimal realAmount; + //优惠卷IDs + private List<Long> goodsIds; + } -- Gitblit v1.9.1