v3.4.6
This commit is contained in:
@@ -17,7 +17,7 @@ public class CommonConst
|
||||
ContractResolver = new DefaultContractResolver(),
|
||||
|
||||
// 设置时区为 UTC
|
||||
DateTimeZoneHandling = DateTimeZoneHandling.Utc,
|
||||
DateTimeZoneHandling = DateTimeZoneHandling.Local,
|
||||
|
||||
// 格式化json输出的日期格式
|
||||
DateFormatString = "yyyy-MM-dd HH:mm:ss",
|
||||
@@ -41,7 +41,7 @@ public class CommonConst
|
||||
/// <summary>
|
||||
/// 用户缓存.
|
||||
/// </summary>
|
||||
public const string CACHEKEYUSER = "user_";
|
||||
public const string CACHEKEYUSER = "jnpf:permission:user";
|
||||
|
||||
/// <summary>
|
||||
/// 菜单缓存.
|
||||
@@ -102,4 +102,19 @@ public class CommonConst
|
||||
/// 第三方登录 票据缓存key.
|
||||
/// </summary>
|
||||
public const string PARAMS_JNPF_TICKET = "jnpf_ticket";
|
||||
|
||||
/// <summary>
|
||||
/// Cas Key.
|
||||
/// </summary>
|
||||
public const string CAS_Ticket = "ticket";
|
||||
|
||||
/// <summary>
|
||||
/// Code.
|
||||
/// </summary>
|
||||
public const string Code = "code";
|
||||
|
||||
/// <summary>
|
||||
/// 外链密码开关(1:开 , 0:关).
|
||||
/// </summary>
|
||||
public const int OnlineDevData_State_Enable = 1;
|
||||
}
|
||||
Reference in New Issue
Block a user