Esempio n. 1
0
        /// <summary>
        /// 根据文章ID,获得文章详细信息
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        public static ArticleInfo Get(int id, WebLanguage language = WebLanguage.zh_cn)
        {
            var model = ArticleManage.Get(id);

            LoadExtensionInfo(model, language);
            return(model);
        }
Esempio n. 2
0
        /// <summary>
        /// 根据文章ID,获得文章详细信息
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        public static ArticleInfo Get(int id)
        {
            var model = ArticleManage.Get(id);

            return(model);
        }