Exemple #1
0
        /// <summary>
        /// 根据GUID获得文章详细信息
        /// </summary>
        /// <param name="guid">GUID</param>
        /// <param name="language">语言,主要生成URL用</param>
        /// <returns></returns>
        public static ArticleInfo GetByGUID(string guid, WebLanguage language = WebLanguage.zh_cn)
        {
            var model = ArticleManage.GetByGUID(guid);

            LoadExtensionInfo(model, language);
            return(model);
        }