...
|
...
|
@@ -2,7 +2,6 @@ package com.yohoufo.order.service.handler; |
|
|
|
|
|
import com.google.common.eventbus.Subscribe;
|
|
|
import com.yohoufo.common.alarm.IEventHandler;
|
|
|
import com.yohoufo.order.event.BuyerMiniFaultOuterTimeEvent;
|
|
|
import com.yohoufo.order.event.BuyerOrderCancelShamDeliveryEvent;
|
|
|
import com.yohoufo.order.mq.DelayTime;
|
|
|
import com.yohoufo.order.mq.TopicConstants;
|
...
|
...
|
@@ -27,8 +26,9 @@ public class BuyerOrderCancelShamDeliveryHandler implements IEventHandler<BuyerO |
|
|
@Override
|
|
|
@Subscribe
|
|
|
public void handle(BuyerOrderCancelShamDeliveryEvent event) {
|
|
|
logger.info("Subscribe Buyer Order Cancel ShamDelivery Event delay msg, event {}", event);
|
|
|
int minutes = DelayTime.CANCEL_SHAM_DELIVERY_TIME_MINUTE ;
|
|
|
logger.info("Subscribe Buyer Order Cancel ShamDelivery Event delay msg, minutes {} ,event {}", minutes ,event);
|
|
|
|
|
|
tradeMqSender.send(TopicConstants.BUYER_ORDER_CANCEL_SHAM_DELIVER, event, DelayTime.CANCEL_SHAM_DELIVERY_TIME_MINUTE);
|
|
|
tradeMqSender.send(TopicConstants.BUYER_ORDER_CANCEL_SHAM_DELIVER, event, minutes);
|
|
|
}
|
|
|
} |
...
|
...
|
|