Authored by mali

修改召回自动收货 7天之后自动确认收货

@@ -296,7 +296,7 @@ public class AppraiseService { @@ -296,7 +296,7 @@ public class AppraiseService {
296 296
297 //发mq,延迟7天设置状态为已完成 297 //发mq,延迟7天设置状态为已完成
298 LOGGER.info("start send storageDeposit mq,topic is {}, depositCode is {}", TopicConstants.DEPOSIT_FINISH_DELIVERY, deposit.getDepositCode()); 298 LOGGER.info("start send storageDeposit mq,topic is {}, depositCode is {}", TopicConstants.DEPOSIT_FINISH_DELIVERY, deposit.getDepositCode());
299 - yhProducer.send(TopicConstants.DEPOSIT_FINISH_DELIVERY, deposit, null, 10); 299 + yhProducer.send(TopicConstants.DEPOSIT_FINISH_DELIVERY, deposit, null, 7 * 24 * 60);
300 } 300 }
301 } 301 }
302 302
@@ -81,7 +81,7 @@ consumer: @@ -81,7 +81,7 @@ consumer:
81 - class: com.yohoufo.order.mq.consumer.DepositFinishDeliveryDelayMsgConsumer 81 - class: com.yohoufo.order.mq.consumer.DepositFinishDeliveryDelayMsgConsumer
82 topic: deposit.finishDelivery 82 topic: deposit.finishDelivery
83 delay: 83 delay:
84 - interval: 10 84 + interval: 10080
85 85
86 - address: ${rabbit_ufo} 86 - address: ${rabbit_ufo}
87 username: ${rabbit_ufo_user} 87 username: ${rabbit_ufo_user}