From d14030746fcd0310d3c9b028fe2c0a5b78984eb6 Mon Sep 17 00:00:00 2001
From: wanshenmean <cathay_xy@163.com>
Date: 星期二, 21 四月 2026 19:44:16 +0800
Subject: [PATCH] Merge branch 'dev' of http://115.159.85.185:8098/r/SuZhouGuanHong/ShanMeiXinNengYuan into dev
---
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