From b5206a46345fa4326705b1178579e2de65edf5de Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期一, 20 五月 2024 15:01:05 +0800
Subject: [PATCH] 目标版本更新
---
HDL_ON/Common/ImageUtlis.cs | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/HDL_ON/Common/ImageUtlis.cs b/HDL_ON/Common/ImageUtlis.cs
index 34c5bf5..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 鍔犺浇浜戠涓嬭浇鍥剧墖鎴愬姛");
}
});
}
--
Gitblit v1.8.0