修改穿透页面

This commit is contained in:
高飞 2023-06-10 17:44:35 +08:00
parent 8433bb4ad7
commit 78baadfb7f
1 changed files with 2 additions and 2 deletions

View File

@ -150,7 +150,7 @@ namespace FineUIPro.Web.DataShow
if (!string.IsNullOrEmpty(item.AttachUrl) && item.AttachUrl.ToLower().EndsWith(".jpg") || item.AttachUrl.ToLower().EndsWith(".jpeg") || item.AttachUrl.ToLower().EndsWith(".png"))
AttachUrl += item.AttachUrl.TrimEnd(',') + ",";
}
url = BLL.UploadAttachmentService.ShowImage(httpUrl, AttachUrl.TrimEnd(','));
url = BLL.UploadAttachmentService.ShowImage("../", AttachUrl.TrimEnd(','));
}
}
return url;
@ -176,7 +176,7 @@ namespace FineUIPro.Web.DataShow
if (!string.IsNullOrEmpty(item.AttachUrl) && item.AttachUrl.ToLower().EndsWith(".jpg") || item.AttachUrl.ToLower().EndsWith(".jpeg") || item.AttachUrl.ToLower().EndsWith(".png"))
AttachUrl += item.AttachUrl.TrimEnd(',') + ",";
}
url = BLL.UploadAttachmentService.ShowImage(httpUrl, AttachUrl.TrimEnd(','));
url = BLL.UploadAttachmentService.ShowImage("../", AttachUrl.TrimEnd(','));
}
}
return url;