Commit 841ad5875cb0ff01510a5dfb66bb8154794246c9
1 parent
4868ef79
【功能优化】小程序端商城优惠券模板添加描述字段
Showing
2 changed files
with
3 additions
and
1 deletions
yudao-module-mall/yudao-module-promotion-biz/src/main/java/cn/iocoder/yudao/module/promotion/controller/app/coupon/vo/template/AppCouponTemplateRespVO.java
| ... | ... | @@ -67,4 +67,7 @@ public class AppCouponTemplateRespVO { |
| 67 | 67 | @Schema(description = "是否可以领取", requiredMode = Schema.RequiredMode.REQUIRED, example = "true") |
| 68 | 68 | private Boolean canTake; |
| 69 | 69 | |
| 70 | + @Schema(description = "优惠券描述", example = "限时优惠!使用优惠券即可享受全场商品 8 折优惠,快来抢购吧!") // 单位:分,仅在 discountType 为 PERCENT 使用 | |
| 71 | + private String description; | |
| 72 | + | |
| 70 | 73 | } | ... | ... |
yudao-module-mall/yudao-module-promotion-biz/src/main/java/cn/iocoder/yudao/module/promotion/dal/dataobject/coupon/CouponTemplateDO.java
| ... | ... | @@ -163,7 +163,6 @@ public class CouponTemplateDO extends BaseDO { |
| 163 | 163 | |
| 164 | 164 | // TODO 芋艿:领取开始时间、领取结束时间 |
| 165 | 165 | |
| 166 | - // TODO 芋艿:要不要加描述 | |
| 167 | 166 | @Schema(description = "优惠券描述", example = "限时优惠!使用优惠券即可享受全场商品 8 折优惠,快来抢购吧!") // 单位:分,仅在 discountType 为 PERCENT 使用 |
| 168 | 167 | private String description; |
| 169 | 168 | } | ... | ... |