diff --git a/wms-web/src/views/wxpublic/wxconfig/columns.tsx b/wms-web/src/views/wxpublic/wxconfig/columns.tsx index f41a05f..15422fe 100644 --- a/wms-web/src/views/wxpublic/wxconfig/columns.tsx +++ b/wms-web/src/views/wxpublic/wxconfig/columns.tsx @@ -41,7 +41,7 @@ export const formSchema: FormSchema[] = [ { field: 'divider-selects', component: 'Divider', - label: '', + label: '基本信息', }, { label: '', @@ -73,6 +73,9 @@ export const formSchema: FormSchema[] = [ component: 'Input', required: true, colProps: { span: 24 }, + dynamicDisabled: ({ values }) => { + return !!values.id; + }, }, { field: 'indexUrl', diff --git a/wmsapi-service/.idea/.idea.wmsapi-service/.idea/workspace.xml b/wmsapi-service/.idea/.idea.wmsapi-service/.idea/workspace.xml index 195e757..efe9aa5 100644 --- a/wmsapi-service/.idea/.idea.wmsapi-service/.idea/workspace.xml +++ b/wmsapi-service/.idea/.idea.wmsapi-service/.idea/workspace.xml @@ -28,6 +28,7 @@ + @@ -208,7 +209,7 @@ - + diff --git a/wmsapi-service/DS.Module.Core/Extensions/ObjectExtensions.cs b/wmsapi-service/DS.Module.Core/Extensions/ObjectExtensions.cs index 85c86cf..df719a3 100644 --- a/wmsapi-service/DS.Module.Core/Extensions/ObjectExtensions.cs +++ b/wmsapi-service/DS.Module.Core/Extensions/ObjectExtensions.cs @@ -201,6 +201,7 @@ public static class ObjectExtensions return value == null ? true : false; } + public static bool IsNotNull(this object value) { return !value.IsNull(); diff --git a/wmsapi-service/DS.Module.Core/Filters/FEGCrosFilter.cs b/wmsapi-service/DS.Module.Core/Filters/FEGCrosFilter.cs new file mode 100644 index 0000000..7ac6c30 --- /dev/null +++ b/wmsapi-service/DS.Module.Core/Filters/FEGCrosFilter.cs @@ -0,0 +1,29 @@ +using Microsoft.AspNetCore.Mvc.Filters; + +namespace DS.Module.Core.Filters; + +/// +/// 解决跨域时的预检查204 options重复请求 +/// +public class FegCrosFilter : IActionFilter +{ + /// + /// + /// + /// + public void OnActionExecuted(ActionExecutedContext context) + { + + } + /// + /// + /// + /// + public void OnActionExecuting(ActionExecutingContext context) + { + //简单粗暴 + context.HttpContext.Request.Headers.Add("Access-Control-Allow-Headers", "*"); + context.HttpContext.Request.Headers.Add("Access-Control-Allow-Methods", "*"); + context.HttpContext.Request.Headers.Add("Access-Control-Max-Age", new Microsoft.Extensions.Primitives.StringValues("24*60*60")); + } +} \ No newline at end of file diff --git a/wmsapi-service/DS.Module.SqlSugar/DS.Module.SqlSugar.csproj b/wmsapi-service/DS.Module.SqlSugar/DS.Module.SqlSugar.csproj index 43b8e1e..571f26b 100644 --- a/wmsapi-service/DS.Module.SqlSugar/DS.Module.SqlSugar.csproj +++ b/wmsapi-service/DS.Module.SqlSugar/DS.Module.SqlSugar.csproj @@ -8,7 +8,7 @@ - + diff --git a/wmsapi-service/DS.Module.SqlSugar/SqlsugarInstall.cs b/wmsapi-service/DS.Module.SqlSugar/SqlsugarInstall.cs index 4f4b9a7..2734ac0 100644 --- a/wmsapi-service/DS.Module.SqlSugar/SqlsugarInstall.cs +++ b/wmsapi-service/DS.Module.SqlSugar/SqlsugarInstall.cs @@ -154,12 +154,12 @@ public static class SqlsugarInstall //从程序集拿到实体type集合 Type[] types = Assembly .LoadFrom(servicesDllFile) //如果 .dll报错,可以换成 xxx.exe 有些生成的是exe - .GetTypes().Where(it => it.FullName.Contains("DS.WMS.Core.")) //命名空间过滤,当然你也可以写其他条件过滤 + .GetTypes().Where(it => it.FullName.Contains("DS.WMS.Core.") && it.GetCustomAttributes(typeof(SugarTable), true)?.FirstOrDefault() != null) //命名空间过滤,当然你也可以写其他条件过滤 .ToArray(); //断点调试一下是不是需要的Type,不是需要的在进行过滤 //全局过滤器 // var superAdminViewAllData = Convert.ToBoolean(App.GetOptions().SuperAdminViewAllData); foreach (var entityType in types) - { + { // 配置多租户全局过滤器 if (!entityType.GetProperty("TenantId").IsNull()) { @@ -169,7 +169,8 @@ public static class SqlsugarInstall (new[] { Expression.Parameter(entityType, "it") }, typeof(bool), $"{nameof(DBEntityTenant.TenantId)} == @0 ", user.GetTenantId()); - dbProvider.QueryFilter.Add(new TableFilterItem(entityType, lambda)); //将Lambda传入过滤器 + // dbProvider.QueryFilter.Add(new TableFilterItem(entityType, lambda)); //将Lambda传入过滤器 + dbProvider.QueryFilter.AddTableFilter(entityType,lambda); } // // 配置加删除全局过滤器 if (!entityType.GetProperty("Deleted").IsNull()) @@ -179,10 +180,11 @@ public static class SqlsugarInstall (new[] { Expression.Parameter(entityType, "it") }, typeof(bool), $"{nameof(EntityBase.Deleted)} == @0", false); - db.QueryFilter.Add(new TableFilterItem(entityType, lambda) - { - IsJoinQuery = true - }); //将Lambda传入过滤器 + dbProvider.QueryFilter.AddTableFilter(entityType,lambda); + // db.QueryFilter.Add(new TableFilterItem(entityType, lambda) + // { + // IsJoinQuery = true + // }); //将Lambda传入过滤器 } } } diff --git a/wmsapi-service/DS.WMS.Core/System/Entity/SysCompany.cs b/wmsapi-service/DS.WMS.Core/System/Entity/SysCompany.cs index 093a8a1..dc582c1 100644 --- a/wmsapi-service/DS.WMS.Core/System/Entity/SysCompany.cs +++ b/wmsapi-service/DS.WMS.Core/System/Entity/SysCompany.cs @@ -4,6 +4,7 @@ namespace DS.WMS.Core.System.Entity; /// /// 公司信息 /// +[SqlSugar.SugarTable("SysCompany")] public class SysCompany:BaseModel { /// diff --git a/wmsapi-service/DS.WMS.Core/System/Entity/SysConfig.cs b/wmsapi-service/DS.WMS.Core/System/Entity/SysConfig.cs index eaaccc0..ff5f57f 100644 --- a/wmsapi-service/DS.WMS.Core/System/Entity/SysConfig.cs +++ b/wmsapi-service/DS.WMS.Core/System/Entity/SysConfig.cs @@ -5,6 +5,7 @@ namespace DS.WMS.Core.System.Entity; /// /// 系统配置 /// +[SqlSugar.SugarTable("SysConfig")] public class SysConfig:BaseModel { /// diff --git a/wmsapi-service/DS.WMS.Core/System/Entity/SysDictData.cs b/wmsapi-service/DS.WMS.Core/System/Entity/SysDictData.cs index 32eecea..c97ac0c 100644 --- a/wmsapi-service/DS.WMS.Core/System/Entity/SysDictData.cs +++ b/wmsapi-service/DS.WMS.Core/System/Entity/SysDictData.cs @@ -6,6 +6,7 @@ namespace DS.WMS.Core.System.Entity; /// /// 字典值表 /// +[SqlSugar.SugarTable("SysDictData")] public class SysDictData:BaseModel { /// diff --git a/wmsapi-service/DS.WMS.Core/System/Entity/SysDictType.cs b/wmsapi-service/DS.WMS.Core/System/Entity/SysDictType.cs index 3188ed7..acc0d0f 100644 --- a/wmsapi-service/DS.WMS.Core/System/Entity/SysDictType.cs +++ b/wmsapi-service/DS.WMS.Core/System/Entity/SysDictType.cs @@ -6,6 +6,7 @@ namespace DS.WMS.Core.System.Entity; /// /// 字典类型表 /// +[SqlSugar.SugarTable("SysDictType")] public class SysDictType:BaseModel { /// diff --git a/wmsapi-service/DS.WMS.Core/System/Entity/SysPermission.cs b/wmsapi-service/DS.WMS.Core/System/Entity/SysPermission.cs index 795d6a9..c569bad 100644 --- a/wmsapi-service/DS.WMS.Core/System/Entity/SysPermission.cs +++ b/wmsapi-service/DS.WMS.Core/System/Entity/SysPermission.cs @@ -5,6 +5,7 @@ namespace DS.WMS.Core.System.Entity; /// /// 权限信息 /// +[SqlSugar.SugarTable("SysPermission")] public class SysPermission:BaseModel { /// diff --git a/wmsapi-service/DS.WMS.Core/System/Entity/SysRole.cs b/wmsapi-service/DS.WMS.Core/System/Entity/SysRole.cs index b071fbc..c278499 100644 --- a/wmsapi-service/DS.WMS.Core/System/Entity/SysRole.cs +++ b/wmsapi-service/DS.WMS.Core/System/Entity/SysRole.cs @@ -1,6 +1,9 @@ using DS.Module.Core.Data; namespace DS.WMS.Core.System.Entity; - +/// +/// +/// +[SqlSugar.SugarTable("SysRole")] public class SysRole:BaseModel { /// diff --git a/wmsapi-service/DS.WMS.Core/System/Entity/SysRolePermission.cs b/wmsapi-service/DS.WMS.Core/System/Entity/SysRolePermission.cs index 1bf84e2..7e2085b 100644 --- a/wmsapi-service/DS.WMS.Core/System/Entity/SysRolePermission.cs +++ b/wmsapi-service/DS.WMS.Core/System/Entity/SysRolePermission.cs @@ -2,6 +2,10 @@ namespace DS.WMS.Core.System.Entity; +/// +/// +/// +[SqlSugar.SugarTable("SysRolePermission")] public class SysRolePermission { public SysRolePermission() diff --git a/wmsapi-service/DS.WMS.Core/System/Entity/SysRoleUser.cs b/wmsapi-service/DS.WMS.Core/System/Entity/SysRoleUser.cs index 3f1373c..eedc4bc 100644 --- a/wmsapi-service/DS.WMS.Core/System/Entity/SysRoleUser.cs +++ b/wmsapi-service/DS.WMS.Core/System/Entity/SysRoleUser.cs @@ -4,6 +4,7 @@ namespace DS.WMS.Core.System.Entity; /// /// 用户角色对应关系 /// +[SqlSugar.SugarTable("SysRoleUser")] public class SysRoleUser { /// diff --git a/wmsapi-service/DS.WMS.Core/System/Entity/SysTenant.cs b/wmsapi-service/DS.WMS.Core/System/Entity/SysTenant.cs index 0ddff4e..9ea60bc 100644 --- a/wmsapi-service/DS.WMS.Core/System/Entity/SysTenant.cs +++ b/wmsapi-service/DS.WMS.Core/System/Entity/SysTenant.cs @@ -5,6 +5,7 @@ namespace DS.WMS.Core.System.Entity; /// /// 租户实体 /// +[SqlSugar.SugarTable("SysTenant")] public class SysTenant:BaseModel { /// diff --git a/wmsapi-service/DS.WMS.Core/System/Entity/SysUser.cs b/wmsapi-service/DS.WMS.Core/System/Entity/SysUser.cs index 8320ad7..5981b0c 100644 --- a/wmsapi-service/DS.WMS.Core/System/Entity/SysUser.cs +++ b/wmsapi-service/DS.WMS.Core/System/Entity/SysUser.cs @@ -1,6 +1,10 @@ using DS.Module.Core.Data; namespace DS.WMS.Core.System.Entity; +/// +/// +/// +[SqlSugar.SugarTable("SysUser")] public class SysUser:BaseModel { /// diff --git a/wmsapi-service/DS.WMS.Core/WxModule/Entity/WxPublicConfig.cs b/wmsapi-service/DS.WMS.Core/WxModule/Entity/WxPublicConfig.cs index ab2df8b..5bd25eb 100644 --- a/wmsapi-service/DS.WMS.Core/WxModule/Entity/WxPublicConfig.cs +++ b/wmsapi-service/DS.WMS.Core/WxModule/Entity/WxPublicConfig.cs @@ -1,16 +1,12 @@ +using DS.Module.Core.Data; using SqlSugar; namespace DS.WMS.Core.WxModule.Entity; -public class WxPublicConfig +[SqlSugar.SugarTable("WxPublicConfig")] +public class WxPublicConfig:BaseModel { - /// - /// Desc: - /// Default: - /// Nullable:False - /// - [SugarColumn(IsPrimaryKey = true)] - public string Id { get; set; } + /// /// Desc: @@ -45,61 +41,5 @@ public class WxPublicConfig /// Default: /// Nullable:True /// - public string InfoClient { get; set; } - - /// - /// Desc: - /// Default: - /// Nullable:True - /// - public string Note { get; set; } - - /// - /// Desc: - /// Default: - /// Nullable:False - /// - public DateTime AddTime { get; set; } - - /// - /// Desc: - /// Default: - /// Nullable:True - /// - public string AddBy { get; set; } - - /// - /// Desc: - /// Default: - /// Nullable:True - /// - public string UpdateBy { get; set; } - - /// - /// Desc: - /// Default: - /// Nullable:True - /// - public DateTime? UpdateTime { get; set; } - - /// - /// Desc: - /// Default: - /// Nullable:False - /// - public bool Deleted { get; set; } - - /// - /// Desc: - /// Default: - /// Nullable:True - /// - public DateTime? DeleteTime { get; set; } - - /// - /// Desc: - /// Default: - /// Nullable:True - /// - public string DeleteBy { get; set; } + public string InfoClient { get; set; } } \ No newline at end of file diff --git a/wmsapi-service/DS.WMS.Core/WxModule/Entity/WxUser.cs b/wmsapi-service/DS.WMS.Core/WxModule/Entity/WxUser.cs index 55e8e84..903ad97 100644 --- a/wmsapi-service/DS.WMS.Core/WxModule/Entity/WxUser.cs +++ b/wmsapi-service/DS.WMS.Core/WxModule/Entity/WxUser.cs @@ -1,21 +1,15 @@ +using DS.Module.Core.Data; using SqlSugar; namespace DS.WMS.Core.WxModule.Entity; [SugarTable("WxUser")] -public partial class WxUser +public partial class WxUser:BaseModel { public WxUser() { } - - /// - /// Desc: - /// Default: - /// Nullable:False - /// - [SugarColumn(IsPrimaryKey = true)] - public string Id { get; set; } + /// /// Desc: @@ -124,60 +118,5 @@ public partial class WxUser /// Nullable:True /// public int? UserType { get; set; } - - /// - /// Desc: - /// Default: - /// Nullable:True - /// - public string Note { get; set; } - - /// - /// Desc: - /// Default: - /// Nullable:False - /// - public DateTime AddTime { get; set; } - - /// - /// Desc: - /// Default: - /// Nullable:True - /// - public string AddBy { get; set; } - - /// - /// Desc: - /// Default: - /// Nullable:True - /// - public string UpdateBy { get; set; } - - /// - /// Desc: - /// Default: - /// Nullable:True - /// - public DateTime? UpdateTime { get; set; } - - /// - /// Desc: - /// Default: - /// Nullable:False - /// - public bool Deleted { get; set; } - - /// - /// Desc: - /// Default: - /// Nullable:True - /// - public DateTime? DeleteTime { get; set; } - - /// - /// Desc: - /// Default: - /// Nullable:True - /// - public string DeleteBy { get; set; } + } \ No newline at end of file diff --git a/wmsapi-service/DS.WMS.WebApi/DsAppWebInstall.cs b/wmsapi-service/DS.WMS.WebApi/DsAppWebInstall.cs index 4464267..e47386c 100644 --- a/wmsapi-service/DS.WMS.WebApi/DsAppWebInstall.cs +++ b/wmsapi-service/DS.WMS.WebApi/DsAppWebInstall.cs @@ -24,6 +24,8 @@ public static class DsAppWebInstall services.AddHttpClient(); services.AddControllers(options => { + // 204预检查过滤 + options.Filters.Add(); //全局异常过滤 options.Filters.Add(); options.SuppressAsyncSuffixInActionNames = false; diff --git a/wmsapi-service/DS.WMS.WebApi/Logs/internal-nlog.txt b/wmsapi-service/DS.WMS.WebApi/Logs/internal-nlog.txt index bf58adb..102640c 100644 --- a/wmsapi-service/DS.WMS.WebApi/Logs/internal-nlog.txt +++ b/wmsapi-service/DS.WMS.WebApi/Logs/internal-nlog.txt @@ -2554,3 +2554,92 @@ 2022-12-05 11:43:59.6516 Info Adding target ColoredConsoleTarget(Name=console) 2022-12-05 11:43:59.7366 Info Validating config: TargetNames=allfile, ownFile-web, ConfigItems=54, FilePath=D:\Code\DS\WmsSolution\wmsapi-service\DS.WMS.WebApi\bin\Debug\net6.0\nlog.config 2022-12-05 11:43:59.7544 Warn Unused target detected. Add a rule for this target to the configuration. TargetName: console +2022-12-05 11:49:01.7999 Info AppDomain Shutting down. LogFactory closing... +2022-12-05 11:49:01.8183 Info LogFactory has been closed. +2022-12-05 11:50:03.8509 Info Message Template Auto Format enabled +2022-12-05 11:50:03.8608 Info Loading assembly: NLog.Web.AspNetCore +2022-12-05 11:50:03.9292 Info Adding target FileTarget(Name=allfile) +2022-12-05 11:50:03.9292 Info Adding target FileTarget(Name=ownFile-web) +2022-12-05 11:50:03.9452 Info Adding target ColoredConsoleTarget(Name=console) +2022-12-05 11:50:03.9791 Info Validating config: TargetNames=allfile, ownFile-web, ConfigItems=54, FilePath=D:\Code\DS\WmsSolution\wmsapi-service\DS.WMS.WebApi\bin\Debug\net6.0\nlog.config +2022-12-05 11:50:03.9791 Warn Unused target detected. Add a rule for this target to the configuration. TargetName: console +2022-12-05 12:02:45.0011 Info AppDomain Shutting down. LogFactory closing... +2022-12-05 12:02:45.0369 Info LogFactory has been closed. +2022-12-05 12:03:05.4319 Info Message Template Auto Format enabled +2022-12-05 12:03:05.4319 Info Loading assembly: NLog.Web.AspNetCore +2022-12-05 12:03:05.5341 Info Adding target FileTarget(Name=allfile) +2022-12-05 12:03:05.5404 Info Adding target FileTarget(Name=ownFile-web) +2022-12-05 12:03:05.5404 Info Adding target ColoredConsoleTarget(Name=console) +2022-12-05 12:03:05.5883 Info Validating config: TargetNames=allfile, ownFile-web, ConfigItems=54, FilePath=D:\Code\DS\WmsSolution\wmsapi-service\DS.WMS.WebApi\bin\Debug\net6.0\nlog.config +2022-12-05 12:03:05.5883 Warn Unused target detected. Add a rule for this target to the configuration. TargetName: console +2022-12-05 13:33:41.2149 Info AppDomain Shutting down. LogFactory closing... +2022-12-05 13:33:41.2448 Info LogFactory has been closed. +2022-12-05 13:33:53.9119 Info Message Template Auto Format enabled +2022-12-05 13:33:53.9119 Info Loading assembly: NLog.Web.AspNetCore +2022-12-05 13:33:54.0519 Info Adding target FileTarget(Name=allfile) +2022-12-05 13:33:54.0519 Info Adding target FileTarget(Name=ownFile-web) +2022-12-05 13:33:54.0812 Info Adding target ColoredConsoleTarget(Name=console) +2022-12-05 13:33:54.1476 Info Validating config: TargetNames=allfile, ownFile-web, ConfigItems=54, FilePath=D:\Code\DS\WmsSolution\wmsapi-service\DS.WMS.WebApi\bin\Debug\net6.0\nlog.config +2022-12-05 13:33:54.1659 Warn Unused target detected. Add a rule for this target to the configuration. TargetName: console +2022-12-05 13:43:17.1254 Info AppDomain Shutting down. LogFactory closing... +2022-12-05 13:43:17.1466 Info LogFactory has been closed. +2022-12-05 13:44:28.7105 Info Message Template Auto Format enabled +2022-12-05 13:44:28.7375 Info Loading assembly: NLog.Web.AspNetCore +2022-12-05 13:44:28.9635 Info Adding target FileTarget(Name=allfile) +2022-12-05 13:44:28.9635 Info Adding target FileTarget(Name=ownFile-web) +2022-12-05 13:44:28.9995 Info Adding target ColoredConsoleTarget(Name=console) +2022-12-05 13:44:29.1037 Info Validating config: TargetNames=allfile, ownFile-web, ConfigItems=54, FilePath=D:\Code\DS\WmsSolution\wmsapi-service\DS.WMS.WebApi\bin\Debug\net6.0\nlog.config +2022-12-05 13:44:29.1272 Warn Unused target detected. Add a rule for this target to the configuration. TargetName: console +2022-12-05 13:56:02.0256 Info AppDomain Shutting down. LogFactory closing... +2022-12-05 13:56:02.0516 Info LogFactory has been closed. +2022-12-05 13:58:08.9599 Info Message Template Auto Format enabled +2022-12-05 13:58:08.9837 Info Loading assembly: NLog.Web.AspNetCore +2022-12-05 13:58:09.1621 Info Adding target FileTarget(Name=allfile) +2022-12-05 13:58:09.1621 Info Adding target FileTarget(Name=ownFile-web) +2022-12-05 13:58:09.2107 Info Adding target ColoredConsoleTarget(Name=console) +2022-12-05 13:58:09.3218 Info Validating config: TargetNames=allfile, ownFile-web, ConfigItems=54, FilePath=D:\Code\DS\WmsSolution\wmsapi-service\DS.WMS.WebApi\bin\Debug\net6.0\nlog.config +2022-12-05 13:58:09.3492 Warn Unused target detected. Add a rule for this target to the configuration. TargetName: console +2022-12-05 14:03:50.1921 Info AppDomain Shutting down. LogFactory closing... +2022-12-05 14:03:50.2084 Info LogFactory has been closed. +2022-12-05 14:04:39.5681 Info Message Template Auto Format enabled +2022-12-05 14:04:39.6036 Info Loading assembly: NLog.Web.AspNetCore +2022-12-05 14:04:39.6952 Info Adding target FileTarget(Name=allfile) +2022-12-05 14:04:39.6952 Info Adding target FileTarget(Name=ownFile-web) +2022-12-05 14:04:39.7199 Info Adding target ColoredConsoleTarget(Name=console) +2022-12-05 14:04:39.7652 Info Validating config: TargetNames=allfile, ownFile-web, ConfigItems=54, FilePath=D:\Code\DS\WmsSolution\wmsapi-service\DS.WMS.WebApi\bin\Debug\net6.0\nlog.config +2022-12-05 14:04:39.7757 Warn Unused target detected. Add a rule for this target to the configuration. TargetName: console +2022-12-05 14:11:56.5618 Info Message Template Auto Format enabled +2022-12-05 14:11:56.5828 Info Loading assembly: NLog.Web.AspNetCore +2022-12-05 14:11:56.6708 Info Adding target FileTarget(Name=allfile) +2022-12-05 14:11:56.6708 Info Adding target FileTarget(Name=ownFile-web) +2022-12-05 14:11:56.6875 Info Adding target ColoredConsoleTarget(Name=console) +2022-12-05 14:11:56.7206 Info Validating config: TargetNames=allfile, ownFile-web, ConfigItems=54, FilePath=D:\Code\DS\WmsSolution\wmsapi-service\DS.WMS.WebApi\bin\Debug\net6.0\nlog.config +2022-12-05 14:11:56.7281 Warn Unused target detected. Add a rule for this target to the configuration. TargetName: console +2022-12-05 14:13:53.9211 Info Message Template Auto Format enabled +2022-12-05 14:13:53.9356 Info Loading assembly: NLog.Web.AspNetCore +2022-12-05 14:13:53.9861 Info Adding target FileTarget(Name=allfile) +2022-12-05 14:13:53.9903 Info Adding target FileTarget(Name=ownFile-web) +2022-12-05 14:13:53.9903 Info Adding target ColoredConsoleTarget(Name=console) +2022-12-05 14:13:54.0250 Info Validating config: TargetNames=allfile, ownFile-web, ConfigItems=54, FilePath=D:\Code\DS\WmsSolution\wmsapi-service\DS.WMS.WebApi\bin\Debug\net6.0\nlog.config +2022-12-05 14:13:54.0250 Warn Unused target detected. Add a rule for this target to the configuration. TargetName: console +2022-12-05 14:17:30.3137 Info Message Template Auto Format enabled +2022-12-05 14:17:30.3343 Info Loading assembly: NLog.Web.AspNetCore +2022-12-05 14:17:30.3983 Info Adding target FileTarget(Name=allfile) +2022-12-05 14:17:30.3983 Info Adding target FileTarget(Name=ownFile-web) +2022-12-05 14:17:30.4169 Info Adding target ColoredConsoleTarget(Name=console) +2022-12-05 14:17:30.4497 Info Validating config: TargetNames=allfile, ownFile-web, ConfigItems=54, FilePath=D:\Code\DS\WmsSolution\wmsapi-service\DS.WMS.WebApi\bin\Debug\net6.0\nlog.config +2022-12-05 14:17:30.4594 Warn Unused target detected. Add a rule for this target to the configuration. TargetName: console +2022-12-05 14:37:17.3592 Info Message Template Auto Format enabled +2022-12-05 14:37:17.3889 Info Loading assembly: NLog.Web.AspNetCore +2022-12-05 14:37:17.5101 Info Adding target FileTarget(Name=allfile) +2022-12-05 14:37:17.5101 Info Adding target FileTarget(Name=ownFile-web) +2022-12-05 14:37:17.5412 Info Adding target ColoredConsoleTarget(Name=console) +2022-12-05 14:37:17.6078 Info Validating config: TargetNames=allfile, ownFile-web, ConfigItems=54, FilePath=D:\Code\DS\WmsSolution\wmsapi-service\DS.WMS.WebApi\bin\Debug\net6.0\nlog.config +2022-12-05 14:37:17.6260 Warn Unused target detected. Add a rule for this target to the configuration. TargetName: console +2022-12-05 14:43:45.5015 Info Message Template Auto Format enabled +2022-12-05 14:43:45.5147 Info Loading assembly: NLog.Web.AspNetCore +2022-12-05 14:43:45.5604 Info Adding target FileTarget(Name=allfile) +2022-12-05 14:43:45.5604 Info Adding target FileTarget(Name=ownFile-web) +2022-12-05 14:43:45.5710 Info Adding target ColoredConsoleTarget(Name=console) +2022-12-05 14:43:45.5922 Info Validating config: TargetNames=allfile, ownFile-web, ConfigItems=54, FilePath=D:\Code\DS\WmsSolution\wmsapi-service\DS.WMS.WebApi\bin\Debug\net6.0\nlog.config +2022-12-05 14:43:45.5922 Warn Unused target detected. Add a rule for this target to the configuration. TargetName: console