Exemplo n.º 1
0
        /// <summary>
        /// 获取或有页面编号
        /// </summary>
        /// <returns></returns>
        public virtual Dictionary <int, string> GetFloorAllPageCodeList()
        {
            Dictionary <int, string> result = new Dictionary <int, string>();
            var allC1List = ExternalDomainBroker.GetCategory1List();

            result.Add(0, "首页");
            if (allC1List != null && allC1List.Count > 0)
            {
                allC1List.ForEach(m =>
                {
                    result.Add(m.SysNo.Value, m.CategoryName.Content);
                });
            }
            return(result);
        }