提现金额修改
This commit is contained in:
@@ -110,10 +110,11 @@ public class MkDistributionUserServiceImpl extends ServiceImpl<MkDistributionUse
|
|||||||
log.error("查询用户中心数据失败", e);
|
log.error("查询用户中心数据失败", e);
|
||||||
}
|
}
|
||||||
// 封装顶部收益数据
|
// 封装顶部收益数据
|
||||||
|
UserInfo userInfo = userInfoService.getById(userId);
|
||||||
Map<String, Object> result = new HashMap<>(5);
|
Map<String, Object> result = new HashMap<>(5);
|
||||||
result.put("totalIncome", centerTopVO == null ? 0.0 : centerTopVO.getTotalIncome());
|
result.put("totalIncome", centerTopVO == null ? 0.0 : centerTopVO.getTotalIncome());
|
||||||
result.put("pendingIncome", centerTopVO == null ? 0.0 : centerTopVO.getPendingIncome());
|
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("activates", activates(userId, 1, 5));
|
||||||
result.put("unActivates", unActivates(userId, 1, 3));
|
result.put("unActivates", unActivates(userId, 1, 3));
|
||||||
|
|||||||
Reference in New Issue
Block a user