public interface WxCpMessageInterceptor
限定符和类型 | 方法和说明 |
---|---|
boolean |
intercept(WxCpXmlMessage wxMessage,
Map<String,Object> context,
WxCpService wxCpService,
WxSessionManager sessionManager)
拦截微信消息
|
boolean intercept(WxCpXmlMessage wxMessage, Map<String,Object> context, WxCpService 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.