Ejemplo n.º 1
0
 /// <summary>保存店铺页尾
 /// </summary>
 /// <param name="storeId"></param>
 public void SaveStoreButtom(Int64 storeId)
 {
     using (WcfTcpClient <IStoreService> clint = factory.CreateClient <IStoreService>())
     {
         var    item = clint.Channel.GetStorePageFooter(storeId);
         string key  = RedisKeyConst.GetStorePageFooterKey(storeId).Key;
         if (item != null)
         {
             CN100.Redis.Client.RedisClientUtility.SetData <StoreBottomModel>(key, item);
         }
         else
         {
             DeleteByKey(key);
         }
     }
 }