|
|
@ -73,7 +73,7 @@ if (redisConnectionString != null && instanceName != null)
|
|
|
|
builder.Services.AddControllers().AddJsonOptions(configure =>
|
|
|
|
builder.Services.AddControllers().AddJsonOptions(configure =>
|
|
|
|
{
|
|
|
|
{
|
|
|
|
configure.JsonSerializerOptions.Converters.Add(new DatetimeJsonConverter());
|
|
|
|
configure.JsonSerializerOptions.Converters.Add(new DatetimeJsonConverter());
|
|
|
|
configure.JsonSerializerOptions.Converters.Add(new LongJsonConverter());
|
|
|
|
// configure.JsonSerializerOptions.Converters.Add(new LongJsonConverter());
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
builder.Services.AddControllers();
|
|
|
|
builder.Services.AddControllers();
|
|
|
|