From 9c33e4ccb90fae87a614abd2ed1ab034d3b7a13d Mon Sep 17 00:00:00 2001 From: JLChen <551775569@qq.com> Date: 星期五, 26 三月 2021 11:26:01 +0800 Subject: [PATCH] 2021-03-26 1.对接接口优化。 --- 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