修改穿透页面
This commit is contained in:
@@ -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"))
|
if (!string.IsNullOrEmpty(item.AttachUrl) && item.AttachUrl.ToLower().EndsWith(".jpg") || item.AttachUrl.ToLower().EndsWith(".jpeg") || item.AttachUrl.ToLower().EndsWith(".png"))
|
||||||
AttachUrl += item.AttachUrl.TrimEnd(',') + ",";
|
AttachUrl += item.AttachUrl.TrimEnd(',') + ",";
|
||||||
}
|
}
|
||||||
url = BLL.UploadAttachmentService.ShowImage(httpUrl, AttachUrl.TrimEnd(','));
|
url = BLL.UploadAttachmentService.ShowImage("../", AttachUrl.TrimEnd(','));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return url;
|
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"))
|
if (!string.IsNullOrEmpty(item.AttachUrl) && item.AttachUrl.ToLower().EndsWith(".jpg") || item.AttachUrl.ToLower().EndsWith(".jpeg") || item.AttachUrl.ToLower().EndsWith(".png"))
|
||||||
AttachUrl += item.AttachUrl.TrimEnd(',') + ",";
|
AttachUrl += item.AttachUrl.TrimEnd(',') + ",";
|
||||||
}
|
}
|
||||||
url = BLL.UploadAttachmentService.ShowImage(httpUrl, AttachUrl.TrimEnd(','));
|
url = BLL.UploadAttachmentService.ShowImage("../", AttachUrl.TrimEnd(','));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return url;
|
return url;
|
||||||
|
|||||||
Reference in New Issue
Block a user