优化代码、数据库字符串连接

This commit is contained in:
不做码农
2023-06-04 16:43:35 +08:00
parent 2e39825b5c
commit cdd4b42f0a
7 changed files with 98 additions and 37 deletions

View File

@@ -1,4 +1,6 @@

using System.Collections.Generic;
namespace Infrastructure
{
/// <summary>
@@ -15,6 +17,7 @@ namespace Infrastructure
public ALIYUN_OSS ALIYUN_OSS { get; set; }
public JwtSettings JwtSettings { get; set; }
public Gen Gen { get; set; }
public List<DbConfigs> DbConfigs { get; set; }
}
/// <summary>
/// 发送邮件数据配置
@@ -81,4 +84,11 @@ namespace Infrastructure
}
public class DbConfigs
{
public string Conn { get; set; }
public int DbType { get; set; }
public string ConfigId { get; set; }
public bool IsAutoCloseConnection { get; set; }
}
}