DocumentServiceAPI.Core/DbContext.cs
@@ -45,7 +45,7 @@ db.CurrentConnectionConfig.ConfigureExternalServices = new ConfigureExternalServices() { //判断是否开启redis设置二级缓存方式 // DataInfoCacheService = new SqlSugarRedisCache(), DataInfoCacheService = new SqlSugarRedisCache(), //模型定义为 int?号时自动为可空 EntityService = (c, p) => {