Showing
2 changed files
with
29 additions
and
3 deletions
1 | +package com.yohoufo.order.service.handler; | ||
2 | + | ||
3 | +import com.google.common.eventbus.Subscribe; | ||
4 | +import com.yoho.error.ServiceError; | ||
5 | +import com.yoho.error.exception.ServiceException; | ||
6 | +import com.yohoufo.common.alarm.IEventHandler; | ||
7 | +import com.yohoufo.order.event.PayConfirmEvent; | ||
8 | +import com.yohoufo.order.model.request.PaymentRequest; | ||
9 | +import com.yohoufo.order.service.IPaymentService; | ||
10 | +import org.slf4j.Logger; | ||
11 | +import org.slf4j.LoggerFactory; | ||
12 | +import org.springframework.beans.factory.annotation.Autowired; | ||
13 | +import org.springframework.stereotype.Component; | ||
14 | + | ||
15 | + | ||
16 | +@Component | ||
17 | +public class CleanGWOrderNumsEventHandler implements IEventHandler<PayConfirmEvent> { | ||
18 | + | ||
19 | + final Logger logger = LoggerFactory.getLogger(getClass()); | ||
20 | + | ||
21 | + | ||
22 | + @Subscribe | ||
23 | + @Override | ||
24 | + public void handle(PayConfirmEvent event) { | ||
25 | + | ||
26 | + | ||
27 | + } | ||
28 | + | ||
29 | +} |
@@ -46,11 +46,8 @@ import com.yohoufo.order.service.cache.OrderCacheService; | @@ -46,11 +46,8 @@ import com.yohoufo.order.service.cache.OrderCacheService; | ||
46 | import com.yohoufo.order.service.pay.AbstractPayService; | 46 | import com.yohoufo.order.service.pay.AbstractPayService; |
47 | import com.yohoufo.order.service.proxy.InBoxFacade; | 47 | import com.yohoufo.order.service.proxy.InBoxFacade; |
48 | import com.yohoufo.order.service.proxy.ProductProxyService; | 48 | import com.yohoufo.order.service.proxy.ProductProxyService; |
49 | -<<<<<<< HEAD | ||
50 | import com.yohoufo.order.utils.LoggerUtils; | 49 | import com.yohoufo.order.utils.LoggerUtils; |
51 | -======= | ||
52 | import org.apache.commons.collections.CollectionUtils; | 50 | import org.apache.commons.collections.CollectionUtils; |
53 | ->>>>>>> dev_1226_gatewaynums | ||
54 | import org.apache.commons.lang3.StringUtils; | 51 | import org.apache.commons.lang3.StringUtils; |
55 | import org.slf4j.Logger; | 52 | import org.slf4j.Logger; |
56 | import org.springframework.beans.factory.annotation.Autowired; | 53 | import org.springframework.beans.factory.annotation.Autowired; |
-
Please register or login to post a comment