升级.net8

This commit is contained in:
dell
2024-11-14 09:01:55 +08:00
parent 48e9e27fa0
commit abf72c3d58
86 changed files with 14229 additions and 10612 deletions

View File

@ -5,8 +5,8 @@ using HT.Cloud.Code;
namespace HT.Cloud.Service.Event
{
public class BaseEventSource : IEventSource
{
public class BaseEventSource : IEventSource
{
public BaseEventSource()
{
}
@ -41,5 +41,7 @@ namespace HT.Cloud.Service.Event
[Newtonsoft.Json.JsonIgnore]
[System.Text.Json.Serialization.JsonIgnore]
public CancellationToken CancellationToken { get; set; }
}
public bool IsConsumOnce => true;
}
}

View File

@ -28,8 +28,7 @@ namespace HT.Cloud.Service.Event
{
foreach (var item in DBInitialize.GetConnectionConfigs(false))
{
string temp = item.ConfigId;
db.GetConnection(temp).DefaultConfig();
db.GetConnection(item.ConfigId).DefaultConfig();
}
});
await new LogService(dbContext).WriteDbLog(input, user);