From f656f107469ab3eb9f1c02d9b23fe5e052e6afb6 Mon Sep 17 00:00:00 2001
From: zs <zhousong@weben-smart.com>
Date: 周三, 07 5月 2025 12:21:04 +0800
Subject: [PATCH] 可空
---
HIAWms/server/src/CMS.Plugin.HIAWms/ProjectService/HIAWmsProjectService.cs | 21 +--------------------
1 files changed, 1 insertions(+), 20 deletions(-)
diff --git a/HIAWms/server/src/CMS.Plugin.HIAWms/ProjectService/HIAWmsProjectService.cs b/HIAWms/server/src/CMS.Plugin.HIAWms/ProjectService/HIAWmsProjectService.cs
index 188e480..fcc707e 100644
--- a/HIAWms/server/src/CMS.Plugin.HIAWms/ProjectService/HIAWmsProjectService.cs
+++ b/HIAWms/server/src/CMS.Plugin.HIAWms/ProjectService/HIAWmsProjectService.cs
@@ -37,7 +37,7 @@
/// <summary>
/// 鍚敤鎺堟潈
/// </summary>
- public override bool AuthRequired => true;
+ public override bool AuthRequired => false;
/// <summary>
/// Initializes a new instance of the <see cref="HIAWmsProjectService"/> class.
@@ -160,25 +160,6 @@
// await uow.SaveChangesAsync();
_logger.LogInformation($"ProcessAsync锛孋ount={count}");
- }
-
- /// <summary>
- /// Executes the external API.
- /// </summary>
- private async Task ExecuteExternalApiAsync()
- {
- try
- {
- await _serviceProvider.GetRequiredService<IHIAWmsExternalApi>().CreateAsync(new WmsContainerCreateDto
- {
- Name = "WmsContainer_Name",
- Code = "WmsContainer_Code",
- });
- }
- catch (Exception e)
- {
- _logger.LogException(e);
- }
}
}
}
--
Gitblit v1.9.3