|
|
@@ -82,12 +82,12 @@ public class VipFrontServiceImpl implements VipFrontService {
|
|
|
Integer months = vipUserPageResp.getMonths();
|
|
|
//处理vip抵扣金额
|
|
|
VipDeductDto vipDeductDto = commonHandleVipDeductMoney(userIdList, goodsIds, months);
|
|
|
+ vipUserPageResp.setRelationUserViews(vipDeductDto.getRelationUserViews());
|
|
|
+ vipUserPageResp.setExtendsDays(vipDeductDto.getExtendDays());
|
|
|
if (months != 12) {
|
|
|
//取出最大可抵扣info
|
|
|
vipDeductDto = commonHandleVipDeductMoney(userIdList, goodsIds, 12);
|
|
|
}
|
|
|
- vipUserPageResp.setRelationUserViews(vipDeductDto.getRelationUserViews());
|
|
|
- vipUserPageResp.setExtendsDays(vipDeductDto.getExtendDays());
|
|
|
deductMoney = vipDeductDto.getDeductMoney();
|
|
|
}
|
|
|
vipUserPageResp.setDeductMoney(deductMoney);
|