diff --git a/Myshipping.Application/Service/EmbedProjectGoodsStatus/EmbedTraceProductService.cs b/Myshipping.Application/Service/EmbedProjectGoodsStatus/EmbedTraceProductService.cs
index 2bacc864..9121d768 100644
--- a/Myshipping.Application/Service/EmbedProjectGoodsStatus/EmbedTraceProductService.cs
+++ b/Myshipping.Application/Service/EmbedProjectGoodsStatus/EmbedTraceProductService.cs
@@ -319,9 +319,11 @@ namespace Myshipping.Application
}
else
{
- _logger.LogInformation($"{JSON.Serialize(queryDto)} 查询失败,{result.resultMessage}");
+ string msg = result != null ? result.resultMessage : "查询无结果";
- throw Oops.Oh(result.resultMessage);
+ _logger.LogInformation($"{JSON.Serialize(queryDto)} 查询失败,{msg}");
+
+ throw Oops.Oh(msg);
}
}
diff --git a/ServiceDeamon/Properties/PublishProfiles/FolderProfile.pubxml b/ServiceDeamon/Properties/PublishProfiles/FolderProfile.pubxml
new file mode 100644
index 00000000..154e0353
--- /dev/null
+++ b/ServiceDeamon/Properties/PublishProfiles/FolderProfile.pubxml
@@ -0,0 +1,13 @@
+
+
+
+
+ Release
+ Any CPU
+ bin\Release\net6.0\publish\
+ FileSystem
+ <_TargetId>Folder
+
+
\ No newline at end of file
diff --git a/ServiceDeamon/Properties/PublishProfiles/FolderProfile.pubxml.user b/ServiceDeamon/Properties/PublishProfiles/FolderProfile.pubxml.user
new file mode 100644
index 00000000..b1e29b25
--- /dev/null
+++ b/ServiceDeamon/Properties/PublishProfiles/FolderProfile.pubxml.user
@@ -0,0 +1,10 @@
+
+
+
+
+ True|2024-02-29T08:00:42.0444911Z;True|2024-02-26T19:20:28.7587467+08:00;
+
+
+
\ No newline at end of file
diff --git a/ServiceDeamon/Properties/launchSettings.json b/ServiceDeamon/Properties/launchSettings.json
new file mode 100644
index 00000000..33504c94
--- /dev/null
+++ b/ServiceDeamon/Properties/launchSettings.json
@@ -0,0 +1,8 @@
+{
+ "profiles": {
+ "WSL": {
+ "commandName": "WSL2",
+ "distributionName": ""
+ }
+ }
+}
\ No newline at end of file
diff --git a/ServiceDeamon/ServiceDeamon.csproj.user b/ServiceDeamon/ServiceDeamon.csproj.user
new file mode 100644
index 00000000..928f01dd
--- /dev/null
+++ b/ServiceDeamon/ServiceDeamon.csproj.user
@@ -0,0 +1,6 @@
+
+
+
+ <_LastSelectedProfileId>E:\MyCode\BookingHeChuan\ServiceDeamon\Properties\PublishProfiles\FolderProfile.pubxml
+
+
\ No newline at end of file