/// <summary>保存店铺客服信息 /// </summary> /// <param name="storeId"></param> public void SaveCustomServices(Int64 storeId) { using (WcfTcpClient <IStoreService> clint = factory.CreateClient <IStoreService>()) { var item = clint.Channel.GetCustomServices(storeId); string key = RedisKeyConst.GetStoreCustomServiceKey(storeId).Key; if (item != null && item.Count > 0) { CN100.Redis.Client.RedisClientUtility.SetData <IList <StoreCustomServiceModel> >(key, item); } else { DeleteByKey(key); } } }