public interface WxCpTpMessageInterceptor
限定符和类型 | 方法和说明 |
---|---|
boolean |
intercept(WxCpTpXmlMessage wxMessage,
Map<String,Object> context,
WxCpTpService wxCpService,
WxSessionManager sessionManager)
拦截微信消息
|
boolean intercept(WxCpTpXmlMessage wxMessage, Map<String,Object> context, WxCpTpService wxCpService, WxSessionManager sessionManager) throws WxErrorException
wxMessage
- the wx messagecontext
- 上下文,如果handler或interceptor之间有信息要传递,可以用这个wxCpService
- the wx cp servicesessionManager
- the session managerWxErrorException
- the wx error exceptionCopyright © 2024. All rights reserved.