Add weixin middleware