/// <summary>保存店铺类目信息 /// </summary> /// <param name="storeId"></param> public void SaveStoreCategory(Int64 storeId) { using (WcfTcpClient <IStoreService> clint = factory.CreateClient <IStoreService>()) { var item = clint.Channel.GetStoreCategory(storeId); string key = RedisKeyConst.GetStoreCategoryKey(storeId).Key; if (item != null && item.Count > 0) { CN100.Redis.Client.RedisClientUtility.SetData <IList <StoreCategoryModel> >(key, item); } else { DeleteByKey(key); } } SaveStoreTopModule(storeId); //修改页头 }