From 25afbc347932821c7b8bc4d9a6a7acb73eb3f969 Mon Sep 17 00:00:00 2001 From: JLChen <551775569@qq.com> Date: 星期六, 12 十二月 2020 19:32:28 +0800 Subject: [PATCH] 2020-12-12 1.修改退出登录方法。 --- HDL_ON/DAL/Server/HttpUtil.cs | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/HDL_ON/DAL/Server/HttpUtil.cs b/HDL_ON/DAL/Server/HttpUtil.cs index 3b85363..2c6b1d8 100644 --- a/HDL_ON/DAL/Server/HttpUtil.cs +++ b/HDL_ON/DAL/Server/HttpUtil.cs @@ -154,7 +154,7 @@ if (string.IsNullOrEmpty(urlHead)) { - urlHead = UserInfo.Current.RequestHttpsHost; + urlHead = OnAppConfig.Instance.RequestHttpsHost; } string requestFullUrl = urlHead + apiPath; @@ -326,7 +326,7 @@ { if (string.IsNullOrEmpty(urlHead)) { - urlHead = UserInfo.Current.RequestHttpsHost; + urlHead = OnAppConfig.Instance.RequestHttpsHost; } string requestFullUrl = urlHead + apiPath; @@ -396,7 +396,7 @@ if (string.IsNullOrEmpty(urlHead)) { - urlHead = UserInfo.Current.RequestHttpsHost; + urlHead = OnAppConfig.Instance.RequestHttpsHost; } string requestFullUrl = urlHead + apiPath; @@ -599,7 +599,8 @@ //2.4 MD5杞崲+杞皬鍐� var signstr = SignMD5Encrypt(str); paramDictionary.Add("sign", signstr); - return Newtonsoft.Json.JsonConvert.SerializeObject(paramDictionary); + var signResult = Newtonsoft.Json.JsonConvert.SerializeObject(paramDictionary); + return signResult; } else { -- Gitblit v1.8.0