From 4506a1ed31e5d3c009ea5049f385ada6527bb595 Mon Sep 17 00:00:00 2001
From: wanshenmean <cathay_xy@163.com>
Date: 星期二, 21 四月 2026 00:18:08 +0800
Subject: [PATCH] refactor(StockService): MES调用改为Task.Run异步执行
---
Code/WMS/WIDESEA_WMSServer/WIDESEA_BasicService/MesService.cs | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Code/WMS/WIDESEA_WMSServer/WIDESEA_BasicService/MesService.cs b/Code/WMS/WIDESEA_WMSServer/WIDESEA_BasicService/MesService.cs
index 3234a69..8f1d43f 100644
--- a/Code/WMS/WIDESEA_WMSServer/WIDESEA_BasicService/MesService.cs
+++ b/Code/WMS/WIDESEA_WMSServer/WIDESEA_BasicService/MesService.cs
@@ -35,7 +35,7 @@
{
Headers = new Dictionary<string, string>
{
- { "Authorization", _authorization }
+ { "Authorization","Bearer "+ _authorization }
},
TimeoutMs = 30000,
MaxRetryCount = 0,
@@ -49,7 +49,7 @@
{
Headers = new Dictionary<string, string>
{
- { "Authorization", token }
+ { "Authorization","Bearer "+ token }
},
TimeoutMs = 30000,
MaxRetryCount = 0,
--
Gitblit v1.9.3