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.
		
		
		
		
			
				
					
					
						
							14 lines
						
					
					
						
							423 B
						
					
					
				
			
		
		
	
	
							14 lines
						
					
					
						
							423 B
						
					
					
				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());
 | 
						|
    }
 | 
						|
}
 | 
						|
 |