/// <summary> /// 查找关键字,有条件 /// </summary> /// <param name="keyFilter">对象</param> /// <returns>list</returns> public static dynamic Find(CMS_Keyword keyFilter) { try { return(CMS_Keyword_DAL.Find(keyFilter)); } catch (Exception ex) { throw ex; } }
/// <summary> /// 分页查询热搜 /// </summary> /// <param name="keyFilter">对象</param> /// <param name="limit">一页N条数据</param> /// <param name="page">当前第N页</param> /// <returns></returns> public static dynamic Find(CMS_Keyword keyFilter, int limit, int page) { try { Pagination pagination = CMS_Keyword_DAL.Find(keyFilter, limit, page); return(pagination); } catch (Exception ex) { throw ex; } }
/// <summary> /// 得到关键字 /// </summary> /// <returns>list</returns> public static dynamic Find() { try { var list = CMS_Keyword_DAL.Find(); return(list); } catch (Exception error) { throw error; } }