/// <summary> /// 保存站点配置信息 /// </summary> public static void SaveSiteConfig(SiteConfigInfo siteConfigInfo) { lock (_locker) { if (_configstrategy.SaveSiteConfig(siteConfigInfo)) { _siteconfiginfo = siteConfigInfo; } } }
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(); }