Hishop.Weixin.MP/Response/NewsResponse.cs

(完整代码) 763B

namespace Hishop.Weixin.MP.Response
{
    using Hishop.Weixin.MP;
    using System;
    using System.Collections.Generic;
    using System.Runtime.CompilerServices;
    using Hishop.Weixin.MP.Domain;

    public class NewsResponse : AbstractResponse
    {
        public int ArticleCount
        {
            get
            {
                if (this.Articles != null)
                {
                    return this.Articles.Count;
                }
                return 0;
            }
        }

        public IList<Article> Articles { get; set; }

        public override ResponseMsgType MsgType
        {
            get
            {
                return ResponseMsgType.News;
            }
        }
    }
}

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。