コード例 #1
0
 private bool RefreshBeautyConfigCache(string channle)
 {
     using (var client = new GroupBuyingClient())
     {
         var result = client.RefreshBeautyConfigCache(channle);
         return(result.Success);
     }
 }
コード例 #2
0
 private bool RefreshBeautyConfigCache(string channel)
 {
     using (var client = new GroupBuyingClient())
     {
         var serviceResult = client.RefreshBeautyConfigCache(channel);
         serviceResult.ThrowIfException(true);
         return(serviceResult.Result);
     }
 }
コード例 #3
0
 public bool CleanCahce(string channel, int type)
 {
     using (var client = new GroupBuyingClient())
     {
         if (type == 1)
         {
             var result = client.RefreshBeautyConfigCache(channel).Result;
             return(result);
         }
         else
         {
             var result = client.RefreshActivityConfigCache(channel).Result;
             return(result);
         }
     }
 }