/// <summary> /// 输出图文消息 /// </summary> /// <param name="article"></param> /// <returns></returns> protected WeiXinArticleResult WeiXinArticle(Article article) { WeiXinArticleResult result = new WeiXinArticleResult(); result.Add(article); return(result); }
/// <summary> /// 输出图文消息 /// </summary> /// <param name="list"></param> /// <returns></returns> protected WeiXinArticleResult WeiXinArticle(List <Article> list) { WeiXinArticleResult result = new WeiXinArticleResult(); foreach (Article item in list) { result.Add(item); } return(result); }