提交代码

This commit is contained in:
2024-12-24 19:04:32 +08:00
parent 2e3c34c38c
commit 189a020cc7
78 changed files with 9689 additions and 2214 deletions
@@ -383,6 +383,11 @@ namespace FineUIPro.Web.SysManage
{
txtClientId.Text = sysSet11.ConstValue;
}
var sysSet6_Api = (from x in Funs.DB.Sys_Set where x.SetName == "程序接口访问地址" select x).ToList().FirstOrDefault();
if (sysSet6_Api != null)
{
this.txtSGGLApiUrl.Text = sysSet6_Api.SetValue;
}
var sysSet18 = BLL.ConstValue.drpConstItemList(BLL.ConstValue.Group_SafeReferer).Select(x => new { x.ConstText, x.ConstValue }).ToList();
var txtReferer = "";
foreach (var item in sysSet18)
@@ -591,6 +596,26 @@ namespace FineUIPro.Web.SysManage
Funs.DB.Sys_Set.InsertOnSubmit(newSysSet9);
Funs.DB.SubmitChanges();
}
Model.Sys_Set sysSet6_Api = db.Sys_Set.FirstOrDefault(x => x.SetName == "程序接口访问地址");
if (sysSet6_Api != null)
{
if (!string.IsNullOrEmpty(this.txtSGGLApiUrl.Text.Trim()))
{
sysSet6_Api.SetValue = this.txtSGGLApiUrl.Text.Trim();
}
db.SubmitChanges();
}
else
{
Model.Sys_Set newsysSet6_Api = new Model.Sys_Set();
if (!string.IsNullOrEmpty(this.txtSGGLApiUrl.Text.Trim()))
{
newsysSet6_Api.SetValue = this.txtSGGLApiUrl.Text.Trim();
}
newsysSet6_Api.SetName = "程序接口访问地址";
Funs.DB.Sys_Set.InsertOnSubmit(newsysSet6_Api);
Funs.DB.SubmitChanges();
}
Model.Sys_Const sysSet10 = db.Sys_Const.FirstOrDefault(x => x.ConstText == "集团ESB地址");
if (sysSet10 != null)
{