From ca02c73c70a208cdc7c5efbc9008610428a6c8c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=A7=E7=9F=B3=E5=A4=B4?= Date: Sun, 7 Apr 2024 09:18:53 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E5=A4=A7=E8=8F=9C=E5=8D=95?= =?UTF-8?q?=E9=A1=BA=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Stardust.Web/Areas/Configs/ConfigsArea.cs | 17 ++++++++--------- .../Areas/Deployment/DeploymentArea.cs | 17 ++++++++--------- Stardust.Web/Areas/Monitors/MonitorsArea.cs | 17 ++++++++--------- Stardust.Web/Areas/Nodes/NodesArea.cs | 18 ++++++++---------- Stardust.Web/Areas/Platform/PlatformArea.cs | 13 ++++++------- Stardust.Web/Areas/Redis/RedisArea.cs | 17 ++++++++--------- Stardust.Web/Areas/Registry/RegistryArea.cs | 5 ++--- 7 files changed, 48 insertions(+), 56 deletions(-) diff --git a/Stardust.Web/Areas/Configs/ConfigsArea.cs b/Stardust.Web/Areas/Configs/ConfigsArea.cs index fd9cc224..fb0ea2d4 100644 --- a/Stardust.Web/Areas/Configs/ConfigsArea.cs +++ b/Stardust.Web/Areas/Configs/ConfigsArea.cs @@ -1,15 +1,14 @@ -using System; -using System.ComponentModel; +using System.ComponentModel; using NewLife; using NewLife.Cube; -namespace Stardust.Web.Areas.Configs +namespace Stardust.Web.Areas.Configs; + +[DisplayName("配置中心")] +[Menu(666, true, LastUpdate = "20240407")] +public class ConfigsArea : AreaBase { - [DisplayName("配置中心")] - public class ConfigsArea : AreaBase - { - public ConfigsArea() : base(nameof(ConfigsArea).TrimEnd("Area")) { } + public ConfigsArea() : base(nameof(ConfigsArea).TrimEnd("Area")) { } - static ConfigsArea() => RegisterArea(); - } + static ConfigsArea() => RegisterArea(); } \ No newline at end of file diff --git a/Stardust.Web/Areas/Deployment/DeploymentArea.cs b/Stardust.Web/Areas/Deployment/DeploymentArea.cs index 0c213596..aad68bdb 100644 --- a/Stardust.Web/Areas/Deployment/DeploymentArea.cs +++ b/Stardust.Web/Areas/Deployment/DeploymentArea.cs @@ -1,15 +1,14 @@ -using System; -using System.ComponentModel; +using System.ComponentModel; using NewLife; using NewLife.Cube; -namespace Stardust.Web.Areas.Deployment +namespace Stardust.Web.Areas.Deployment; + +[DisplayName("发布中心")] +[Menu(555, true, LastUpdate = "20240407")] +public class DeploymentArea : AreaBase { - [DisplayName("发布中心")] - public class DeploymentArea : AreaBase - { - public DeploymentArea() : base(nameof(DeploymentArea).TrimEnd("Area")) { } + public DeploymentArea() : base(nameof(DeploymentArea).TrimEnd("Area")) { } - static DeploymentArea() => RegisterArea(); - } + static DeploymentArea() => RegisterArea(); } \ No newline at end of file diff --git a/Stardust.Web/Areas/Monitors/MonitorsArea.cs b/Stardust.Web/Areas/Monitors/MonitorsArea.cs index 01159bbc..ddeb524c 100644 --- a/Stardust.Web/Areas/Monitors/MonitorsArea.cs +++ b/Stardust.Web/Areas/Monitors/MonitorsArea.cs @@ -1,15 +1,14 @@ -using System; -using System.ComponentModel; +using System.ComponentModel; using NewLife; using NewLife.Cube; -namespace Stardust.Web.Areas.Monitors +namespace Stardust.Web.Areas.Monitors; + +[DisplayName("监控中心")] +[Menu(444, true, LastUpdate = "20240407")] +public class MonitorsArea : AreaBase { - [DisplayName("监控中心")] - public class MonitorsArea : AreaBase - { - public MonitorsArea() : base(nameof(MonitorsArea).TrimEnd("Area")) { } + public MonitorsArea() : base(nameof(MonitorsArea).TrimEnd("Area")) { } - static MonitorsArea() => RegisterArea(); - } + static MonitorsArea() => RegisterArea(); } \ No newline at end of file diff --git a/Stardust.Web/Areas/Nodes/NodesArea.cs b/Stardust.Web/Areas/Nodes/NodesArea.cs index 159f4852..f0399fe5 100644 --- a/Stardust.Web/Areas/Nodes/NodesArea.cs +++ b/Stardust.Web/Areas/Nodes/NodesArea.cs @@ -1,16 +1,14 @@ -using System; -using System.ComponentModel; +using System.ComponentModel; using NewLife; using NewLife.Cube; -namespace Stardust.Web.Areas.Nodes +namespace Stardust.Web.Areas.Nodes; + +[DisplayName("节点管理")] +[Menu(888, true, LastUpdate = "20240407")] +public class NodesArea : AreaBase { - [DisplayName("节点管理")] - [Menu(888, true)] - public class NodesArea : AreaBase - { - public NodesArea() : base(nameof(NodesArea).TrimEnd("Area")) { } + public NodesArea() : base(nameof(NodesArea).TrimEnd("Area")) { } - static NodesArea() => RegisterArea(); - } + static NodesArea() => RegisterArea(); } diff --git a/Stardust.Web/Areas/Platform/PlatformArea.cs b/Stardust.Web/Areas/Platform/PlatformArea.cs index 2e5d5734..9628d6cf 100644 --- a/Stardust.Web/Areas/Platform/PlatformArea.cs +++ b/Stardust.Web/Areas/Platform/PlatformArea.cs @@ -2,12 +2,11 @@ using NewLife; using NewLife.Cube; -namespace Stardust.Web.Areas.Platform +namespace Stardust.Web.Areas.Platform; + +[DisplayName("平台管理")] +[Menu(999, true, LastUpdate = "20240407")] +public class PlatformArea : AreaBase { - [DisplayName("平台管理")] - [Menu(999, true)] - public class PlatformArea : AreaBase - { - public PlatformArea() : base(nameof(PlatformArea).TrimEnd("Area")) { } - } + public PlatformArea() : base(nameof(PlatformArea).TrimEnd("Area")) { } } \ No newline at end of file diff --git a/Stardust.Web/Areas/Redis/RedisArea.cs b/Stardust.Web/Areas/Redis/RedisArea.cs index e89ae781..2b7850a1 100644 --- a/Stardust.Web/Areas/Redis/RedisArea.cs +++ b/Stardust.Web/Areas/Redis/RedisArea.cs @@ -1,15 +1,14 @@ -using System; -using System.ComponentModel; +using System.ComponentModel; using NewLife; using NewLife.Cube; -namespace Stardust.Web.Areas.Redis +namespace Stardust.Web.Areas.Redis; + +[DisplayName("Redis管理")] +[Menu(887, true, LastUpdate = "20240407")] +public class RedisArea : AreaBase { - [DisplayName("Redis管理")] - public class RedisArea : AreaBase - { - public RedisArea() : base(nameof(RedisArea).TrimEnd("Area")) { } + public RedisArea() : base(nameof(RedisArea).TrimEnd("Area")) { } - static RedisArea() => RegisterArea(); - } + static RedisArea() => RegisterArea(); } diff --git a/Stardust.Web/Areas/Registry/RegistryArea.cs b/Stardust.Web/Areas/Registry/RegistryArea.cs index 9203c282..747feb66 100644 --- a/Stardust.Web/Areas/Registry/RegistryArea.cs +++ b/Stardust.Web/Areas/Registry/RegistryArea.cs @@ -1,12 +1,11 @@ -using System; -using System.ComponentModel; +using System.ComponentModel; using NewLife; using NewLife.Cube; namespace Stardust.Web.Areas.Registry; [DisplayName("注册中心")] -[Menu(777, true)] +[Menu(777, true, LastUpdate = "20240407")] public class RegistryArea : AreaBase { public RegistryArea() : base(nameof(RegistryArea).TrimEnd("Area")) { }