From c96b149557eb570ec3ae28e0d0c03adef734766a Mon Sep 17 00:00:00 2001
From: wanshenmean <cathay_xy@163.com>
Date: 星期二, 21 四月 2026 15:20:35 +0800
Subject: [PATCH] feat: 添加机械手选择功能并优化MES请求处理
---
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