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/AdminMallGoodsCouponVo.java | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/main/java/cc/mrbird/febs/mall/vo/AdminMallGoodsCouponVo.java b/src/main/java/cc/mrbird/febs/mall/vo/AdminMallGoodsCouponVo.java index 9b68a3b..e6872f5 100644 --- a/src/main/java/cc/mrbird/febs/mall/vo/AdminMallGoodsCouponVo.java +++ b/src/main/java/cc/mrbird/febs/mall/vo/AdminMallGoodsCouponVo.java @@ -18,6 +18,7 @@ @NotNull(message = "过期天数不能为空") @Min(value = 0, message = "整数字段不能小于0") private Integer expireDay; + private Integer type; //满1000减100,满0减50; //满足金额 @NotNull(message = "满足金额不能为空") -- Gitblit v1.9.1