😎升级Furion v4.9.4.7

This commit is contained in:
zuohuaijun 2024-07-21 11:08:07 +08:00
parent f52f7aa1ed
commit 76320909c1
2 changed files with 4 additions and 4 deletions

View File

@ -18,9 +18,9 @@
<PackageReference Include="AspectCore.Extensions.Reflection" Version="2.4.0" />
<PackageReference Include="AspNetCoreRateLimit" Version="5.0.0" />
<PackageReference Include="Elastic.Clients.Elasticsearch" Version="8.14.6" />
<PackageReference Include="Furion.Extras.Authentication.JwtBearer" Version="4.9.4.6" />
<PackageReference Include="Furion.Extras.ObjectMapper.Mapster" Version="4.9.4.6" />
<PackageReference Include="Furion.Pure" Version="4.9.4.6" />
<PackageReference Include="Furion.Extras.Authentication.JwtBearer" Version="4.9.4.7" />
<PackageReference Include="Furion.Extras.ObjectMapper.Mapster" Version="4.9.4.7" />
<PackageReference Include="Furion.Pure" Version="4.9.4.7" />
<PackageReference Include="Hardware.Info" Version="100.1.0.1" />
<PackageReference Include="IPTools.China" Version="1.6.0" />
<PackageReference Include="IPTools.International" Version="1.6.0" />

View File

@ -79,8 +79,8 @@ public class Startup : AppStartup
{
setting.DateFormatHandling = DateFormatHandling.IsoDateFormat;
setting.DateTimeZoneHandling = DateTimeZoneHandling.Local;
setting.DateFormatString = "yyyy-MM-dd HH:mm:ss"; // 时间格式化
// setting.Converters.AddDateTimeTypeConverters(localized: true); // 时间本地化
setting.DateFormatString = "yyyy-MM-dd HH:mm:ss"; // 时间格式化
setting.ReferenceLoopHandling = ReferenceLoopHandling.Ignore; // 忽略循环引用
// setting.ContractResolver = new CamelCasePropertyNamesContractResolver(); // 解决动态对象属性名大写
// setting.NullValueHandling = NullValueHandling.Ignore; // 忽略空值