Example #1
0
 /// <summary>
 /// 保存短信配置信息
 /// </summary>
 public static void SaveSMSConfig(SMSConfigInfo smsConfigInfo)
 {
     lock (_locker)
     {
         if (_iconfigstrategy.SaveSMSConfig(smsConfigInfo))
         {
             _smsconfiginfo = null;
         }
     }
 }
Example #2
0
 /// <summary>
 /// 保存短信配置
 /// </summary>
 /// <param name="configInfo">短信配置信息</param>
 /// <returns>是否保存结果</returns>
 public bool SaveSMSConfig(SMSConfigInfo configInfo)
 {
     return(SaveConfigInfo(configInfo, IOHelper.GetMapPath(_smsconfigfilepath)));
 }