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