From 9ed4d6675aa1f0abe20e3f84e92f5ac2da8ab4f4 Mon Sep 17 00:00:00 2001 From: wei <kaede@kaededeMacBook-Air.local> Date: 星期六, 12 十二月 2020 20:02:00 +0800 Subject: [PATCH] 20201212-4 --- 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