From 853f7a71577bd8694c848985e1eb21c74d30eba9 Mon Sep 17 00:00:00 2001
From: wanshenmean <cathay_xy@163.com>
Date: 星期二, 21 四月 2026 21:19:23 +0800
Subject: [PATCH] fix(WCS): 修复输送线任务处理逻辑并更新设备映射
---
Code/WMS/WIDESEA_WMSServer/WIDESEA_BasicService/MesService.cs | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/Code/WMS/WIDESEA_WMSServer/WIDESEA_BasicService/MesService.cs b/Code/WMS/WIDESEA_WMSServer/WIDESEA_BasicService/MesService.cs
index 3234a69..6092fa3 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,
@@ -43,13 +43,13 @@
};
}
- private HttpRequestConfig BuildConfig(string token)
+ public HttpRequestConfig BuildConfig(string token)
{
return new HttpRequestConfig
{
Headers = new Dictionary<string, string>
{
- { "Authorization", token }
+ { "Authorization","Bearer "+ token }
},
TimeoutMs = 30000,
MaxRetryCount = 0,
--
Gitblit v1.9.3