20211202 与集团安全信息报表及检查对接接口实现
This commit is contained in:
@@ -20,7 +20,6 @@
|
||||
try
|
||||
{
|
||||
Funs.RootPath = Server.MapPath("~/");
|
||||
|
||||
// 日志文件所在目录
|
||||
ErrLogInfo.DefaultErrLogFullPath = Server.MapPath("~/ErrLog.txt");
|
||||
Funs.ConnString = ConfigurationManager.AppSettings["ConnectionString"];
|
||||
@@ -35,16 +34,6 @@
|
||||
//AppDomain.Unload(AppDomain.CurrentDomain);
|
||||
}
|
||||
|
||||
//////得到集团服务器路径
|
||||
try
|
||||
{
|
||||
string address = ConfigurationManager.AppSettings["endpoint"];
|
||||
Funs.SystemVersion = ConfigurationManager.AppSettings["SystemVersion"];
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
ErrLogInfo.WriteLog("得到集团服务器地址失败!", ex);
|
||||
}
|
||||
////实名制同步定时器
|
||||
try
|
||||
{
|
||||
@@ -69,6 +58,15 @@
|
||||
{
|
||||
ErrLogInfo.WriteLog("通用定时器!", ex);
|
||||
}
|
||||
////从集团获取数据定时器
|
||||
try
|
||||
{
|
||||
BLL.CNCECHSSEMonitorService.StartMonitor();
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
ErrLogInfo.WriteLog("从集团获取数据定时器!", ex);
|
||||
}
|
||||
}
|
||||
|
||||
protected void Session_Start(object sender, EventArgs e)
|
||||
|
||||
Reference in New Issue
Block a user