zoujiajian 1 年之前
父節點
當前提交
1b519b014a
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      netflix-service/src/main/java/com/cyksj/service/vip/impl/VipFrontServiceImpl.java

+ 2 - 2
netflix-service/src/main/java/com/cyksj/service/vip/impl/VipFrontServiceImpl.java

@@ -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);