Commit 4d6ea0043f7be1e434884bcdce1beb09b3569ddb

Authored by 卢越
1 parent 841ad587

【功能优化】优惠券模板使用说明

yudao-module-mall/yudao-module-promotion-biz/src/main/java/cn/iocoder/yudao/module/promotion/controller/admin/coupon/vo/template/CouponTemplateBaseVO.java
@@ -95,7 +95,7 @@ public class CouponTemplateBaseVO { @@ -95,7 +95,7 @@ public class CouponTemplateBaseVO {
95 @Schema(description = "折扣上限", example = "100") // 单位:分,仅在 discountType 为 PERCENT 使用 95 @Schema(description = "折扣上限", example = "100") // 单位:分,仅在 discountType 为 PERCENT 使用
96 private Integer discountLimitPrice; 96 private Integer discountLimitPrice;
97 97
98 - @Schema(description = "优惠券描述", example = "限时优惠!使用优惠券即可享受全场商品 8 折优惠,快来抢购吧!") // 单位:分,仅在 discountType 为 PERCENT 使用 98 + @Schema(description = "优惠券说明", example = "优惠券使用说明") // 单位:分,仅在 discountType 为 PERCENT 使用
99 private String description; 99 private String description;
100 100
101 @AssertTrue(message = "商品范围编号的数组不能为空") 101 @AssertTrue(message = "商品范围编号的数组不能为空")
yudao-module-mall/yudao-module-promotion-biz/src/main/java/cn/iocoder/yudao/module/promotion/controller/app/coupon/vo/template/AppCouponTemplateRespVO.java
@@ -67,7 +67,7 @@ public class AppCouponTemplateRespVO { @@ -67,7 +67,7 @@ public class AppCouponTemplateRespVO {
67 @Schema(description = "是否可以领取", requiredMode = Schema.RequiredMode.REQUIRED, example = "true") 67 @Schema(description = "是否可以领取", requiredMode = Schema.RequiredMode.REQUIRED, example = "true")
68 private Boolean canTake; 68 private Boolean canTake;
69 69
70 - @Schema(description = "优惠券描述", example = "限时优惠!使用优惠券即可享受全场商品 8 折优惠,快来抢购吧!") // 单位:分,仅在 discountType 为 PERCENT 使用 70 + @Schema(description = "优惠券说明", example = "优惠券使用说明") // 单位:分,仅在 discountType 为 PERCENT 使用
71 private String description; 71 private String description;
72 72
73 } 73 }
yudao-module-mall/yudao-module-promotion-biz/src/main/java/cn/iocoder/yudao/module/promotion/dal/dataobject/coupon/CouponTemplateDO.java
@@ -163,6 +163,6 @@ public class CouponTemplateDO extends BaseDO { @@ -163,6 +163,6 @@ public class CouponTemplateDO extends BaseDO {
163 163
164 // TODO 芋艿:领取开始时间、领取结束时间 164 // TODO 芋艿:领取开始时间、领取结束时间
165 165
166 - @Schema(description = "优惠券描述", example = "限时优惠!使用优惠券即可享受全场商品 8 折优惠,快来抢购吧!") // 单位:分,仅在 discountType 为 PERCENT 使用 166 + @Schema(description = "优惠券说明", example = "优惠券使用说明") // 单位:分,仅在 discountType 为 PERCENT 使用
167 private String description; 167 private String description;
168 } 168 }