1019-003-gaofei
This commit is contained in:
@@ -20,13 +20,14 @@
|
||||
try
|
||||
{
|
||||
Funs.RootPath = Server.MapPath("~/");
|
||||
|
||||
|
||||
// 日志文件所在目录
|
||||
ErrLogInfo.DefaultErrLogFullPath = Server.MapPath("~/ErrLog.txt");
|
||||
Funs.ConnString = ConfigurationManager.AppSettings["ConnectionString"];
|
||||
Funs.SystemName = ConfigurationManager.AppSettings["SystemName"];
|
||||
Funs.SGGLUrl = ConfigurationManager.AppSettings["SGGLUrl"];
|
||||
Funs.RealNameApiUrl = ConfigurationManager.AppSettings["RealNameApiUrl"];
|
||||
Funs.ControlApiUrl = ConfigurationManager.AppSettings["ControlApiUrl"];
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
@@ -38,7 +39,7 @@
|
||||
try
|
||||
{
|
||||
string address = ConfigurationManager.AppSettings["endpoint"];
|
||||
Funs.SystemVersion = ConfigurationManager.AppSettings["SystemVersion"];
|
||||
Funs.SystemVersion = ConfigurationManager.AppSettings["SystemVersion"];
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
@@ -49,7 +50,7 @@
|
||||
{
|
||||
BLL.RealNameMonitorService.StartInOutMonitor();
|
||||
if (ConfigurationManager.AppSettings["EnableRealName"] == "True")
|
||||
{
|
||||
{
|
||||
BLL.RealNameMonitorService.StartMonitor();
|
||||
}
|
||||
}
|
||||
@@ -59,7 +60,7 @@
|
||||
}
|
||||
////通用定时器
|
||||
try
|
||||
{
|
||||
{
|
||||
BLL.MonitorService.StartMonitor();
|
||||
BLL.MonitorService.StartMonitorEve();
|
||||
BLL.MonitorService.StartPersonQuarterCheck();
|
||||
@@ -80,7 +81,7 @@
|
||||
}
|
||||
|
||||
protected void Application_BeginRequest(object sender, EventArgs e)
|
||||
{
|
||||
{
|
||||
}
|
||||
|
||||
protected void Application_AuthenticateRequest(object sender, EventArgs e)
|
||||
@@ -140,7 +141,7 @@
|
||||
{
|
||||
if (errLog != null)
|
||||
{
|
||||
db.Sys_ErrLogInfo.InsertOnSubmit(newErr);
|
||||
db.Sys_ErrLogInfo.InsertOnSubmit(newErr);
|
||||
db.SubmitChanges();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user