项目搭建 1、导入fastweixin.jar包2、创建WechatControler继承WeixinControllerSupport/*****************************************************************************/@RestController@RequestMapping("/weixin")public class WechatControl
          1、导入fastweixin.jar包
2、创建WechatControler继承WeixinControllerSupport
/*****************************************************************************/
@RestController
@RequestMapping("/weixin")
public class WechatControler extends WeixinControllerSupport{
	Logger logger = Logger.getLogger(WechatControler.class);
	@Resource(name = "apiConfig")
	ApiConfig config ;
	private static final String TOKEN = "weixin";//TOKEN
	/**设置TOKEN,用于绑定微信服务器
	 * 
	 */
	@Override
	protected String getToken() {
		// TODO 设置TOKEN,用于绑定微信服务器
		return TOKEN;
	}
}
3、在springMVC.xml文件中添加
    
 
	
	
	
	
	
	
以上就是使用fastweixin搭建微信项目
/****************************************************************/
        
        