refactor: 常量更改为私有变量
This commit is contained in:
parent
09a88803ba
commit
d18a745e93
|
@ -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>
|
||||||
///
|
///
|
||||||
|
|
|
@ -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)
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue