增加注释。

This commit is contained in:
egzosn
2017-10-26 18:44:29 +08:00
parent a7f9719057
commit 1401334d9e
20 changed files with 219 additions and 156 deletions

View File

@@ -23,7 +23,9 @@ public class ApyAccountService {
@Resource
private AutowireCapableBeanFactory spring;
//缓存
/**
* 缓存
*/
private final static Map<Integer, PayResponse> payResponses = new HashMap<Integer, PayResponse>();
/**

View File

@@ -92,10 +92,14 @@ public class PayResponse {
router
.rule()
.async(false)
.msgType(MsgType.text.name()) //消息类型
.payType(PayType.aliPay.name()) //支付账户事件类型
.interceptor(new AliPayMessageInterceptor()) //拦截器
.handler(autowire(new AliPayMessageHandler(payId))) //处理器
//消息类型
.msgType(MsgType.text.name())
//支付账户事件类型
.payType(PayType.aliPay.name())
//拦截器
.interceptor(new AliPayMessageInterceptor())
//处理器
.handler(autowire(new AliPayMessageHandler(payId)))
.end()
.rule()
.async(false)