From d18a745e930ffa88b413608c581164ee3f77452c Mon Sep 17 00:00:00 2001 From: Argo Zhang Date: Thu, 2 May 2019 00:03:07 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E5=B8=B8=E9=87=8F=E6=9B=B4?= =?UTF-8?q?=E6=94=B9=E4=B8=BA=E7=A7=81=E6=9C=89=E5=8F=98=E9=87=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Bootstrap.Client.DataAccess/DictHelper.cs | 2 +- Bootstrap.Client.DataAccess/MenuHelper.cs | 2 +- Bootstrap.Client.DataAccess/RoleHelper.cs | 4 ++-- Bootstrap.Client.DataAccess/UserHelper.cs | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Bootstrap.Client.DataAccess/DictHelper.cs b/Bootstrap.Client.DataAccess/DictHelper.cs index 4882b532..49d2104d 100644 --- a/Bootstrap.Client.DataAccess/DictHelper.cs +++ b/Bootstrap.Client.DataAccess/DictHelper.cs @@ -16,7 +16,7 @@ namespace Bootstrap.Client.DataAccess /// /// 缓存索引,BootstrapAdmin后台清理缓存时使用 /// - public const string RetrieveDictsDataKey = "BootstrapDict-RetrieveDicts"; + private const string RetrieveDictsDataKey = "BootstrapDict-RetrieveDicts"; /// /// diff --git a/Bootstrap.Client.DataAccess/MenuHelper.cs b/Bootstrap.Client.DataAccess/MenuHelper.cs index e0d770ae..470974ae 100644 --- a/Bootstrap.Client.DataAccess/MenuHelper.cs +++ b/Bootstrap.Client.DataAccess/MenuHelper.cs @@ -17,7 +17,7 @@ namespace Bootstrap.Client.DataAccess /// /// /// - /// + /// /// /// public static IEnumerable RetrieveAppMenus(string userName, string activeUrl) diff --git a/Bootstrap.Client.DataAccess/RoleHelper.cs b/Bootstrap.Client.DataAccess/RoleHelper.cs index 6dedafe6..26bb098f 100644 --- a/Bootstrap.Client.DataAccess/RoleHelper.cs +++ b/Bootstrap.Client.DataAccess/RoleHelper.cs @@ -9,8 +9,8 @@ namespace Bootstrap.Client.DataAccess /// public static class RoleHelper { - public const string RetrieveRolesByUserNameDataKey = "RoleHelper-RetrieveRolesByUserName"; - public const string RetrieveRolesByUrlDataKey = "RoleHelper-RetrieveRolesByUrl"; + private const string RetrieveRolesByUserNameDataKey = "RoleHelper-RetrieveRolesByUserName"; + private const string RetrieveRolesByUrlDataKey = "RoleHelper-RetrieveRolesByUrl"; /// /// /// diff --git a/Bootstrap.Client.DataAccess/UserHelper.cs b/Bootstrap.Client.DataAccess/UserHelper.cs index f4c2c1e9..85d8144c 100644 --- a/Bootstrap.Client.DataAccess/UserHelper.cs +++ b/Bootstrap.Client.DataAccess/UserHelper.cs @@ -9,7 +9,7 @@ namespace Bootstrap.Client.DataAccess /// public static class UserHelper { - public const string RetrieveUsersByNameDataKey = "BootstrapUser-RetrieveUsersByName"; + private const string RetrieveUsersByNameDataKey = "BootstrapUser-RetrieveUsersByName"; /// /// ///