forked from feiyit/FytSoaCms
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathKeyHelper.cs
59 lines (50 loc) · 1.56 KB
/
KeyHelper.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
using System;
using System.Collections.Generic;
using System.Text;
namespace FytSoa.Common
{
/// <summary>
/// 值管理
/// </summary>
public class KeyHelper
{
/// <summary>
/// 管理菜单
/// </summary>
public static string ADMINMENU = "ADMINMENU";
/// <summary>
/// Redis连接对象
/// </summary>
public static string REDISLOCALHOST = "Cache:Configuration";
/// <summary>
/// Redis-单例名称
/// </summary>
public static string REDISSIGNSNAME = "Cache:SingleRedis";
/// <summary>
/// Redis-分布式名称
/// </summary>
public static string REDISDEFAULTNAME = "Cache:RedisInstance";
#region 用户登录配置
/// <summary>
/// 用户登录保存菜单使用方式
/// </summary>
public static string LOGINAUTHORIZE = "Login:Authorize";
/// <summary>
/// 用户登录保存用户方式
/// </summary>
public static string LOGINSAVEUSER = "Login:SaveType";
/// <summary>
/// 用户登录保存Cookie过期时间 小时
/// </summary>
public static string LOGINCOOKIEEXPIRES = "Login:ExpiresHours";
/// <summary>
/// 用户登录-保存登录次数
/// </summary>
public static string LOGINCOUNT = "Login:Count";
/// <summary>
/// 用户登录-延时分钟
/// </summary>
public static string LOGINDELAYMINUTE = "Login:DelayMinute";
#endregion
}
}