From 5a624d468c8f4eddd89c8cf9b99eb6466fa21481 Mon Sep 17 00:00:00 2001 From: Administrator <15274802129@163.com> Date: Wed, 06 Aug 2025 17:55:18 +0800 Subject: [PATCH] feat(ai): 增加 AI 陪练报告数据解析功能 - 新增 Report、RadarData 和 Evaluation 类用于解析报告数据 - 在 AiService 接口中添加 extractReportData 方法 - 在 AiServiceImpl 中实现报告数据的提取和解析 - 更新 ApiMemberTalkVo,增加 report 字段用于存储解析后的报告数据 - 修改前端相关的回答格式和类型 --- src/main/java/cc/mrbird/febs/mall/service/impl/ApiMallActServiceImpl.java | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) 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