2023-09-26
This commit is contained in:
@@ -8,8 +8,10 @@
|
||||
public static class SysConstSetService
|
||||
{
|
||||
private static string _CNCECPath;
|
||||
private static string _CncecEsbPath;
|
||||
private static string _CNCECToken;
|
||||
private static string _CNCECTokenExTime;
|
||||
private static string _ClientId;
|
||||
|
||||
public static string CNCECPath
|
||||
{
|
||||
@@ -31,6 +33,46 @@
|
||||
_CNCECPath = value;
|
||||
}
|
||||
}
|
||||
public static string CncecEsbPath
|
||||
{
|
||||
get
|
||||
{
|
||||
var sysSet5 = (from x in Funs.DB.Sys_Const where x.ConstText == "集团ESB地址" select x).ToList().FirstOrDefault();
|
||||
if (sysSet5 != null)
|
||||
{
|
||||
_CncecEsbPath = sysSet5.ConstValue;
|
||||
}
|
||||
else
|
||||
{
|
||||
_CncecEsbPath = "";
|
||||
}
|
||||
return _CncecEsbPath;
|
||||
}
|
||||
set
|
||||
{
|
||||
_CncecEsbPath = value;
|
||||
}
|
||||
}
|
||||
public static string ClientId
|
||||
{
|
||||
get
|
||||
{
|
||||
var sysSet5 = (from x in Funs.DB.Sys_Const where x.ConstText == "ClientId" select x).ToList().FirstOrDefault();
|
||||
if (sysSet5 != null)
|
||||
{
|
||||
_ClientId = sysSet5.ConstValue;
|
||||
}
|
||||
else
|
||||
{
|
||||
_ClientId = "";
|
||||
}
|
||||
return _ClientId;
|
||||
}
|
||||
set
|
||||
{
|
||||
_ClientId = value;
|
||||
}
|
||||
}
|
||||
public static string CNCECToken
|
||||
{
|
||||
get
|
||||
|
||||
Reference in New Issue
Block a user