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> /// <summary>
/// 缓存索引BootstrapAdmin后台清理缓存时使用 /// 缓存索引BootstrapAdmin后台清理缓存时使用
/// </summary> /// </summary>
public const string RetrieveDictsDataKey = "BootstrapDict-RetrieveDicts"; private const string RetrieveDictsDataKey = "BootstrapDict-RetrieveDicts";
/// <summary> /// <summary>
/// ///

View File

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

View File

@ -9,8 +9,8 @@ namespace Bootstrap.Client.DataAccess
/// </summary> /// </summary>
public static class RoleHelper public static class RoleHelper
{ {
public const string RetrieveRolesByUserNameDataKey = "RoleHelper-RetrieveRolesByUserName"; private const string RetrieveRolesByUserNameDataKey = "RoleHelper-RetrieveRolesByUserName";
public const string RetrieveRolesByUrlDataKey = "RoleHelper-RetrieveRolesByUrl"; private const string RetrieveRolesByUrlDataKey = "RoleHelper-RetrieveRolesByUrl";
/// <summary> /// <summary>
/// ///
/// </summary> /// </summary>

View File

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