From f4f4c1c28f6c0fb892145819f444c2c0f95a80f0 Mon Sep 17 00:00:00 2001
From: hxb <hxb@hdlchina.com.cn>
Date: 星期二, 13 七月 2021 11:05:02 +0800
Subject: [PATCH] 萤石功能测试完成
---
HDL_ON/DAL/Server/HttpServerRequestBase.cs | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/HDL_ON/DAL/Server/HttpServerRequestBase.cs b/HDL_ON/DAL/Server/HttpServerRequestBase.cs
index b1956ba..e53370e 100644
--- a/HDL_ON/DAL/Server/HttpServerRequestBase.cs
+++ b/HDL_ON/DAL/Server/HttpServerRequestBase.cs
@@ -20,7 +20,7 @@
webClient.Headers.Add("CONTENT-TYPE", "application/json");
if (needAuthorization)
{
- webClient.Headers.Add("Authorization", MainPage.LoginUser.loginTokenString);
+ webClient.Headers.Add("Authorization", UserInfo.Current.LoginTokenString);
}
byte[] bytes = null;
try
--
Gitblit v1.8.0