zoujiajian 8 달 전
부모
커밋
c50ea1c0d4
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      netflix-service/src/main/java/com/cyksj/service/relation/impl/GroupRelationFrontServiceImpl.java

+ 2 - 2
netflix-service/src/main/java/com/cyksj/service/relation/impl/GroupRelationFrontServiceImpl.java

@@ -2532,9 +2532,9 @@ public class GroupRelationFrontServiceImpl implements GroupRelationFrontService
 		}
 		if (expiryTime == null) {
 			if (sku.getDays() != null) {
-				expiryTime = DateUtil.offsetDay(now, sku.getDays());
+				expiryTime = DateUtil.offsetDay(orderDon.getCreatedTime(), sku.getDays());
 			} else {
-				expiryTime = DateUtil.offsetMonth(now, sku.getMonths());
+				expiryTime = DateUtil.offsetMonth(orderDon.getCreatedTime(), sku.getMonths());
 			}
 		}
 		//剩余几个月