服务端的TigerApi 框架,基于.NET6 2024 版本
Ben Lin
2024-06-21 6922ceb192bfcb15f840409bb5f0707d3ee448e9
Tiger.Business/SYS/Biz.SYS_MENU.cs
@@ -71,6 +71,10 @@
                menuItem.meta.icon = item.ICON_URL;  // item.ICON_URL;
                menuItem.meta.orderNo = item.SEQ_NO;
                menuItem.meta.title = item.FUNC_NAME;
                menuItem.meta.menuId = item.ID;
                menuItem.meta.menuCode = item.FUNC_CODE;
                menuItem.btnType = item.BUTTON_TYPE;
                menuItem.meta.btnType = item.BUTTON_TYPE;
                if (!string.IsNullOrEmpty(item.IGNOREKEEPALIVE))
                {
                    menuItem.meta.ignoreKeepAlive = item.IGNOREKEEPALIVE == "0" ? true : false;
@@ -134,6 +138,9 @@
                    menuItem.meta.icon = item.ICON_URL;  // item.ICON_URL;
                    menuItem.meta.orderNo = item.SEQ_NO;
                    menuItem.meta.title = item.FUNC_NAME;
                    menuItem.meta.menuId = item.ID;
                    menuItem.meta.menuCode = item.FUNC_CODE;
                    menuItem.meta.btnType = item.BUTTON_TYPE;
                    if (!string.IsNullOrEmpty(item.IGNOREKEEPALIVE))
                    {
                        menuItem.meta.ignoreKeepAlive = item.IGNOREKEEPALIVE == "0" ? true : false;
@@ -158,6 +165,7 @@
                    menuItem.status = item.IS_USE;
                    menuItem.icon = menuItem.meta.icon;
                    menuItem.func_type = item.FUNC_TYPE;
                    menuItem.btnType = item.BUTTON_TYPE;
                    menuItem.parentMenu = item.PFUNC_CODE;
                    menuItem.orderNo= item.SEQ_NO;
                    menuItem.children = new();
@@ -202,6 +210,7 @@
                        func.ICON_URL = data.icon;
                        func.SEQ_NO = (int)data.orderNo;
                        func.FUNC_TYPE = data.func_type;
                        func.BUTTON_TYPE = data.btnType;
                        func.COMPONENT = string.IsNullOrEmpty(data.component) && data.func_type == "0" ? "LAYOUT" : data.component;
                        func.IGNOREKEEPALIVE = data.keepalive;
                        func.SHOW = data.show;
@@ -217,6 +226,7 @@
                            FUNC_DESC = data.menuName,
                            FUNC_GROUP = "",
                            FUNC_TYPE = data.func_type,
                            BUTTON_TYPE = data.btnType,
                            PFUNC_CODE = data.parentMenu,
                            FUNC_CLASS = "BS",
                            PATH = data.path,
@@ -282,6 +292,9 @@
                    menuItem.meta.icon = item.ICON_URL;  //item.ICON_URL;
                    menuItem.meta.orderNo = item.SEQ_NO;
                    menuItem.meta.title = item.FUNC_NAME;
                    menuItem.meta.menuId = item.ID;
                    menuItem.meta.menuCode = item.FUNC_CODE;
                    menuItem.meta.btnType = item.BUTTON_TYPE;
                    if (!string.IsNullOrEmpty(item.IGNOREKEEPALIVE))
                    {
                        menuItem.meta.ignoreKeepAlive = item.IGNOREKEEPALIVE == "0" ? true : false;
@@ -305,6 +318,7 @@
                    menuItem.createTime = item.CREATE_TIME; 
                    menuItem.icon = menuItem.meta.icon;
                    menuItem.func_type = item.FUNC_TYPE;
                    menuItem.btnType = item.BUTTON_TYPE;
                    menuItem.parentMenu = item.PFUNC_CODE;
                    menuItem.orderNo = item.SEQ_NO;
                    menuItem.status = item.IS_USE;