Ver Fonte

Merge branch 'master_tag' of xiongzhu/raex_back into master

wangqifan há 3 anos atrás
pai
commit
a3d070358e

+ 1 - 1
src/main/java/com/izouma/nineth/service/MintOrderService.java

@@ -913,7 +913,7 @@ public class MintOrderService {
                     try {
                         if (!airDropCollections.contains(collection.getId())) {
                             if (collection.getDelayHours() != 0 & mintOrder.getPayAt()
-                                                                           .plusMinutes(collection.getDelayHours())
+                                                                           .plusHours(collection.getDelayHours())
                                                                            .isBefore(LocalDateTime.now())) {
                                 User user = userRepo.findById(mintOrder.getUserId())
                                                     .orElseThrow(new BusinessException("无用户"));