fix: mapster忽略大小写策略错误,导致部分插件属性映射错误

This commit is contained in:
Diego2098
2024-06-21 09:43:11 +08:00
parent a7d11ead62
commit 70716d5121
2 changed files with 1 additions and 2 deletions

View File

@@ -28,7 +28,6 @@ public class Startup : AppStartup
TypeAdapterConfig.GlobalSettings.Scan(App.Assemblies.ToArray()); TypeAdapterConfig.GlobalSettings.Scan(App.Assemblies.ToArray());
// 配置默认全局映射(支持覆盖) // 配置默认全局映射(支持覆盖)
TypeAdapterConfig.GlobalSettings.Default TypeAdapterConfig.GlobalSettings.Default
.NameMatchingStrategy(NameMatchingStrategy.Flexible)
.PreserveReference(true); .PreserveReference(true);
//运行日志写入数据库配置 //运行日志写入数据库配置

View File

@@ -1,6 +1,6 @@
<Project> <Project>
<PropertyGroup> <PropertyGroup>
<Version>6.0.3.32</Version> <Version>6.0.3.33</Version>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>