This commit is contained in:
2025-12-26 10:59:26 +08:00
parent 8c09097e94
commit d123dc5c9f
3 changed files with 16 additions and 16 deletions
@@ -115,12 +115,12 @@ namespace FineUIPro.Web.CQMS.ProjectHighlightsSite
string url = string.Empty;
if (picUrl != null && !string.IsNullOrWhiteSpace(picUrl.ToString()))
{
string httpUrl = string.Empty;
var sysSet6 = (from x in Funs.DB.Sys_Set where x.SetName == "程序访问地址" select x).ToList().FirstOrDefault();
if (sysSet6 != null)
{
httpUrl = sysSet6.SetValue;
}
string httpUrl = Funs.SGGLUrl;
//var sysSet6 = (from x in Funs.DB.Sys_Set where x.SetName == "程序访问地址" select x).ToList().FirstOrDefault();
//if (sysSet6 != null)
//{
// httpUrl = sysSet6.SetValue;
//}
url = BLL.UploadAttachmentService.ShowImage(httpUrl, picUrl.ToString());
}
return url;
@@ -333,7 +333,7 @@ namespace FineUIPro.Web.CQMS.ProjectHighlightsSite
{
return;
}
var buttonList = BLL.CommonService.GetAllButtonList(null, this.CurrUser.UserId, BLL.Const.ProjectHighlightsSitePicReportMenuId);
var buttonList = BLL.CommonService.GetAllButtonList(null, this.CurrUser.PersonId, BLL.Const.ProjectHighlightsSitePicReportMenuId);
if (buttonList.Count() > 0)
{
//if (buttonList.Contains(BLL.Const.BtnAdd))