From 6912d8235648a51e2e7b7e93d0f5b5e868511462 Mon Sep 17 00:00:00 2001 From: 啊鑫 <t2856754968@163.com> Date: 星期二, 06 八月 2024 12:45:59 +0800 Subject: [PATCH] 添加读取配置的类。将数据库连接,接口地址写入到配置文件中,获取时通过配置文件获取 --- MES.Service/Modes/MessageCenter.cs | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/MES.Service/Modes/MessageCenter.cs b/MES.Service/Modes/MessageCenter.cs index 74144be..0575d17 100644 --- a/MES.Service/Modes/MessageCenter.cs +++ b/MES.Service/Modes/MessageCenter.cs @@ -105,6 +105,14 @@ [SugarColumn(ColumnName = "ROUTE")] public string? Route { get; set; } + /// <summary> + /// 鍙傛暟绫诲瀷 + /// </summary> + [SugarColumn(ColumnName = "Content_Type")] + public string? ContentType { get; set; } + [SugarColumn(IsIgnore = true)] public int? isShow { get; set; } + + [SugarColumn(IsIgnore = true)] public decimal? Count { get; set; } } \ No newline at end of file -- Gitblit v1.9.3