提现金额修改

This commit is contained in:
张松 2025-10-29 18:06:59 +08:00
parent 3a9dc2be14
commit d0decccb22
1 changed files with 2 additions and 1 deletions

View File

@ -110,10 +110,11 @@ public class MkDistributionUserServiceImpl extends ServiceImpl<MkDistributionUse
log.error("查询用户中心数据失败", e);
}
// 封装顶部收益数据
UserInfo userInfo = userInfoService.getById(userId);
Map<String, Object> result = new HashMap<>(5);
result.put("totalIncome", centerTopVO == null ? 0.0 : centerTopVO.getTotalIncome());
result.put("pendingIncome", centerTopVO == null ? 0.0 : centerTopVO.getPendingIncome());
result.put("cashOutAmount", centerTopVO == null ? 0.0 : centerTopVO.getUnCashOutAmount());
result.put("cashOutAmount", userInfo.getDistributionAmount());
result.put("activates", activates(userId, 1, 5));
result.put("unActivates", unActivates(userId, 1, 3));