public void CleanCahce() { try { using (var client = new GroupBuyingClient()) { client.RefreshActivityConfigCache("ios"); client.RefreshActivityConfigCache("android"); client.RefreshActivityConfigCache("wx"); } } catch (Exception ex) { throw ex; } }
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); } } }