Exemple #1
0
        /// <summary>
        /// 新增永久图文素材
        /// </summary>
        /// <param name="model">图文素材</param>
        /// <returns></returns>
        public static Task <AddNews> AddAsync(AddNewsModel model)
        {
            var add      = new AddNews(model);
            var response = add.RequestAsModelAsync <AddNews>();

            return(response);
        }
Exemple #2
0
        /// <summary>
        /// 新增永久图文素材
        /// </summary>
        /// <param name="model">图文素材</param>
        /// <return></return>
        public static AddNews Add(AddNewsModel model)
        {
            var add      = new AddNews(model);
            var response = add.RequestAsModel <AddNews>();

            return(response);
        }