集成CSRedis分布式存储,调整创建者和更新者字段,登录RSA使用配置文件配置私钥

This commit is contained in:
2023-09-22 01:09:47 +08:00
parent de76f5872a
commit d3556cc058
25 changed files with 95 additions and 33 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ namespace ZR.Model.System.Dto
{
public string NoticeTitle { get; set; }
public int? NoticeType { get; set; }
public string CreateBy { get; set; }
public string CreateName { get; set; }
public int? Status { get; set; }
}
}
+15 -4
View File
@@ -11,11 +11,16 @@ namespace ZR.Model.System
/// <summary>
/// 创建人
/// </summary>
[SugarColumn(IsOnlyIgnoreUpdate = true, Length = 64, IsNullable = true)]
[SugarColumn(IsOnlyIgnoreUpdate = true)]
[JsonProperty(propertyName: "CreateBy")]
[ExcelIgnore]
public string Create_by { get; set; }
public long Create_by { get; set; }
[SugarColumn(IsOnlyIgnoreUpdate = true)]
[JsonProperty(propertyName: "CreateName")]
[ExcelIgnore]
public string Create_name { get; set; }
/// <summary>
/// 创建时间
/// </summary>
@@ -29,10 +34,16 @@ namespace ZR.Model.System
/// </summary>
[JsonIgnore]
[JsonProperty(propertyName: "UpdateBy")]
[SugarColumn(IsOnlyIgnoreInsert = true, Length = 64, IsNullable = true)]
[SugarColumn(IsOnlyIgnoreInsert = true)]
[ExcelIgnore]
public string Update_by { get; set; }
public long Update_by { get; set; }
[JsonIgnore]
[JsonProperty(propertyName: "UpdateName")]
[SugarColumn(IsOnlyIgnoreInsert = true)]
[ExcelIgnore]
public string Update_name { get; set; }
/// <summary>
/// 更新时间
/// </summary>
+1 -1
View File
@@ -8,7 +8,7 @@ namespace ZR.Model.System
/// </summary>
[SugarTable("sys_role_menu", "角色菜单")]
[Tenant("0")]
public class SysRoleMenu : SysBase
public class SysRoleMenu
{
[JsonProperty("roleId")]
[SugarColumn(IsPrimaryKey = true, ExtendedAttribute = ProteryConstant.NOTNULL)]