/// <summary> /// 根据调用标识取得内容页内容 /// </summary> /// <param name="call_index">调用标识</param> /// <returns></returns> protected string get_content(string call_index) { if (string.IsNullOrEmpty(call_index)) { return(""); } DTcms.BLL.contents bll = new DTcms.BLL.contents(); if (bll.Exists(call_index)) { return(bll.GetModel(call_index).content); } return(""); }
/// <summary> /// 根据调用标识取得内容页内容 /// </summary> /// <param name="call_index">调用标识</param> /// <returns></returns> protected string get_content(string call_index) { if (string.IsNullOrEmpty(call_index)) return ""; DTcms.BLL.contents bll = new DTcms.BLL.contents(); if (bll.Exists(call_index)) { return bll.GetModel(call_index).content; } return ""; }