From aa6f00541d00cefb9b207671872a631dcb143293 Mon Sep 17 00:00:00 2001 From: Administrator <15274802129@163.com> Date: Mon, 26 May 2025 09:48:42 +0800 Subject: [PATCH] fix(mall): 修复抽奖详情页面文字格式问题 --- src/main/java/cc/mrbird/febs/mall/service/impl/ApiMallActServiceImpl.java | 4 ++-- src/main/java/cc/mrbird/febs/common/enumerates/ScoreFlowTypeEnum.java | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/cc/mrbird/febs/common/enumerates/ScoreFlowTypeEnum.java b/src/main/java/cc/mrbird/febs/common/enumerates/ScoreFlowTypeEnum.java index d23ba25..e41d821 100644 --- a/src/main/java/cc/mrbird/febs/common/enumerates/ScoreFlowTypeEnum.java +++ b/src/main/java/cc/mrbird/febs/common/enumerates/ScoreFlowTypeEnum.java @@ -25,8 +25,8 @@ /** * 抽奖 */ - LUCKY_DRAW_COMMISSION(13, "幸运获得{}佣金"), - LUCKY_DRAW_SCORE(12, "幸运获得{}积分"), + LUCKY_DRAW_COMMISSION(13, "幸运获得{}"), + LUCKY_DRAW_SCORE(12, "幸运获得{}"), LUCKY_DRAW(11, "使用{}积分"), MEMBER_INFO_GIFT(10, "完善个人信息,获得{}积分"), diff --git a/src/main/java/cc/mrbird/febs/mall/service/impl/ApiMallActServiceImpl.java b/src/main/java/cc/mrbird/febs/mall/service/impl/ApiMallActServiceImpl.java index 60fbd8a..9246e4e 100644 --- a/src/main/java/cc/mrbird/febs/mall/service/impl/ApiMallActServiceImpl.java +++ b/src/main/java/cc/mrbird/febs/mall/service/impl/ApiMallActServiceImpl.java @@ -581,7 +581,7 @@ ScoreFlowTypeEnum.LUCKY_DRAW_SCORE.getValue(), MallUtils.getOrderNum(), FlowTypeEnum.PRIZE_SCORE.getValue(), - StrUtil.format(ScoreFlowTypeEnum.LUCKY_DRAW_SCORE.getDesc(),prize), + StrUtil.format(ScoreFlowTypeEnum.LUCKY_DRAW_SCORE.getDesc(),apiMallAwardDetailsVo.getAwardName()), 2 ); } else if (apiMallAwardDetailsVo.getAwardType() == 2) { @@ -592,7 +592,7 @@ ScoreFlowTypeEnum.LUCKY_DRAW_COMMISSION.getValue(), MallUtils.getOrderNum(), FlowTypeEnum.COMMISSION.getValue(), - StrUtil.format(ScoreFlowTypeEnum.LUCKY_DRAW_COMMISSION.getDesc(),prize), + StrUtil.format(ScoreFlowTypeEnum.LUCKY_DRAW_COMMISSION.getDesc(),apiMallAwardDetailsVo.getAwardName()), 2 ); } -- Gitblit v1.9.1