初始提交
This commit is contained in:
31
Services/Hncore.Pass.Manage/Configs/AppSettings.cs
Normal file
31
Services/Hncore.Pass.Manage/Configs/AppSettings.cs
Normal file
@@ -0,0 +1,31 @@
|
||||
namespace Hncore.Pass.Manage.Configs
|
||||
{
|
||||
/// <summary>
|
||||
/// 当前Web项目的appsettings.xxx.json配置信息承载类
|
||||
/// </summary>
|
||||
///
|
||||
public class AppSettings
|
||||
{
|
||||
/// <summary>
|
||||
/// 允许的主机列表
|
||||
/// </summary>
|
||||
public string AllowedHosts { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 新数据库连接字符串
|
||||
/// </summary>
|
||||
public string DbConString { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 旧数据库连接字符串
|
||||
/// </summary>
|
||||
public string OldDbConString { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Redis连接信息
|
||||
/// </summary>
|
||||
public string Redis { get; set; }
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user