Esempio n. 1
0
 /// <summary>
 /// 刷新发现标签配置缓存
 /// </summary>
 /// <returns></returns>
 public static bool RefreshArticleTabConfigCache()
 {
     var result = false;
     try
     {
         using (var client = new ConfigClient())
         {
             var getResult = client.RefreshArticleTabConfigCache();
             getResult.ThrowIfException(true);
             result = getResult.Result;
         }
     }
     catch (Exception ex)
     {
         logger.Error(ex);
     }
     return result;
 }