mac
2024-07-25 3f6685c77beeb12baf840733fb890860f4c26e7c
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.本地默认图库图片,直接加载本地