升级.net8
This commit is contained in:
@ -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;
|
||||
}
|
||||
}
|
||||
|
@ -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);
|
||||
|
Reference in New Issue
Block a user