refactor: 常量更改为私有变量

This commit is contained in:
Argo Zhang 2019-05-02 00:03:07 +08:00
parent 09a88803ba
commit d18a745e93
4 changed files with 5 additions and 5 deletions

View File

@ -16,7 +16,7 @@ namespace Bootstrap.Client.DataAccess
/// <summary>
/// 缓存索引BootstrapAdmin后台清理缓存时使用
/// </summary>
public const string RetrieveDictsDataKey = "BootstrapDict-RetrieveDicts";
private const string RetrieveDictsDataKey = "BootstrapDict-RetrieveDicts";
/// <summary>
///

View File

@ -17,7 +17,7 @@ namespace Bootstrap.Client.DataAccess
/// <summary>
///
/// </summary>
/// <param name="name"></param>
/// <param name="userName"></param>
/// <param name="activeUrl"></param>
/// <returns></returns>
public static IEnumerable<BootstrapMenu> RetrieveAppMenus(string userName, string activeUrl)

View File

@ -9,8 +9,8 @@ namespace Bootstrap.Client.DataAccess
/// </summary>
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";
/// <summary>
///
/// </summary>

View File

@ -9,7 +9,7 @@ namespace Bootstrap.Client.DataAccess
/// </summary>
public static class UserHelper
{
public const string RetrieveUsersByNameDataKey = "BootstrapUser-RetrieveUsersByName";
private const string RetrieveUsersByNameDataKey = "BootstrapUser-RetrieveUsersByName";
/// <summary>
///
/// </summary>