From d76b0e40e5bb127fd33aa1f7842447a1df0628d5 Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期日, 30 七月 2023 22:16:34 +0800
Subject: [PATCH] Update PublicAssmeblyBLL.cs
---
HDL_ON/Common/ImageUtlis.cs | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/HDL_ON/Common/ImageUtlis.cs b/HDL_ON/Common/ImageUtlis.cs
index 54cdb55..253319b 100644
--- a/HDL_ON/Common/ImageUtlis.cs
+++ b/HDL_ON/Common/ImageUtlis.cs
@@ -181,7 +181,7 @@
/// </summary>
public byte[] GetImageDownloadUrl(string imageKey)
{
- if (imageKey.StartsWith("https:"))
+ if (imageKey.StartsWith("https:") || imageKey.StartsWith("http:"))
{
return HttpUtil.HttpsDownload(imageKey);
}
@@ -281,7 +281,6 @@
if (imageView != null)
{
imageView.ImageBytes = imageBytes;
- //Utlis.WriteLine("imageKey 鍔犺浇浜戠涓嬭浇鍥剧墖鎴愬姛");
}
});
}
@@ -347,7 +346,7 @@
if (imageUrl.StartsWith("http"))
{
- imageKey = Encrypt(imageKey);
+ imageKey = Encrypt(imageKey).Replace("/","123");
}
//1.鏈湴榛樿鍥惧簱鍥剧墖锛岀洿鎺ュ姞杞芥湰鍦�
--
Gitblit v1.8.0