From 9a55fd723b90ba09575272a9a15088b249893278 Mon Sep 17 00:00:00 2001 From: Administrator <15274802129@163.com> Date: Tue, 20 May 2025 14:41:24 +0800 Subject: [PATCH] refactor(mall): 优化余额和积分描述的格式化方式 - 使用 Hutool 工具库的 StrUtil.format() 方法替代 String.format() - 提高代码的可读性和性能 --- src/main/java/cc/mrbird/febs/mall/vo/MallMemberCouponVo.java | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/src/main/java/cc/mrbird/febs/mall/vo/MallMemberCouponVo.java b/src/main/java/cc/mrbird/febs/mall/vo/MallMemberCouponVo.java index 1f7c29e..763a02a 100644 --- a/src/main/java/cc/mrbird/febs/mall/vo/MallMemberCouponVo.java +++ b/src/main/java/cc/mrbird/febs/mall/vo/MallMemberCouponVo.java @@ -27,6 +27,9 @@ @ApiModelProperty(value = "1:待使用 2:已使用 3:已过期") private Integer state; + @ApiModelProperty(value = "类型 1:满100只减10 2:每满100减10") + private Integer type; + @ApiModelProperty(value = "满足金额") private BigDecimal costAmount; -- Gitblit v1.9.1