/// <summary> /// 保存系统整体配置 /// </summary> /// <param name="sysConfigInfo"></param> public static void SaveSysConfig(SysConfigInfo sysConfigInfo) { lock (_locker) { if (_configstrategy.SaveSysConfig(sysConfigInfo)) { _sysconfiginfo = sysConfigInfo; } } }
private static EmailConfigInfo _emailConfigInfo = null; //邮件相关配置 static BSConfig() { Load(); //_sysconfiginfo=_sysconfiginfo _rdbsconfiginfo = _configstrategy.GetRDBSConfig(); _sysconfiginfo = _configstrategy.GetSysConfig(); _siteconfiginfo = _configstrategy.GetSiteConfig(); _routeconfiginfo = _configstrategy.GetRouteConfig(); _emailConfigInfo = _configstrategy.GetEmailConfig(); }