You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
423 B
15 lines
423 B
2 years ago
|
package com.ynxbd.wx.wxfactory.menu.interceptor;
|
||
|
|
||
|
|
||
|
|
||
|
import com.ynxbd.wx.wxfactory.menu.WxService;
|
||
|
import com.ynxbd.wx.wxfactory.menu.bean.xml.WxXmlMessage;
|
||
|
|
||
|
import java.util.Map;
|
||
|
|
||
|
public abstract class WxMessageInterceptor {
|
||
|
public boolean intercept(WxXmlMessage wxMessage, Map<String, Object> context, WxService wxService) throws Exception {
|
||
|
return "text".equals(wxMessage.getMsgType());
|
||
|
}
|
||
|
}
|