//Transfer 
 /// <summary>
 /// 
 /// </summary>
 /// <param name="key">关键字</param>
 /// <param name="page">第几页取数据默认0 页面会传递1(逻辑对应)</param>
 /// <param name="IsChangeByGoods">是否按换物交换</param>
 /// <param name="IsChangeByPrice">是否按价格交换</param>
 /// <param name="area">区域</param>
 /// <param name="city">城市</param>
 /// <param name="clc">二级分类,查找时候找出对应的所有分类,channelListCatagroy简写clc</param>
 /// <returns></returns>
 public ActionResult GoodsTransferSearch(string key, int page,
     bool IsChangeByGoods, bool IsChangeByPrice,
     int area, int city,
     int clc)
 {
     var model = new GoodsTransferSearchModel(page);
     model.Key = key;
     model.IsChangeByGoods = IsChangeByGoods;
     model.IsChangeByPrice = IsChangeByPrice;
     model.AreaId = area;
     model.CityId = city;
     model.Clc = clc;
     model.MainGoods = goodsTransferSearch.SearchByKey(key, area, 
         city, page - 1, 
         10, IsChangeByGoods, 
         IsChangeByPrice, clc);
     model.CheckModel();
     return View(model);
 }
 public ActionResult Computer(int id)
 {
     var model = new GoodsTransferSearchModel(id);
     if (id <= 0)
     {
         return RedirectToAction("PageNotFound", "PageLink");
     }
     if (id <= 10)
     {
         model.MainGoods = goodsCache.GetMainGoodsTransferComputer().Skip((id - 1) * 10).Take(10).ToList();
     }
     else
     {
         //缓存中数量超过100个的时候 才可能有后续数据 这个时候才去读取 否则不读取  默认100个   
         if (model.MainGoods.Count == 100)
         {
             int page = id - 1;
             model.MainGoods = goodsSearch.SearchByCatagroy(ChannelListDetailCatagroy.Computer, page, 10);
         }
     }
     
     model.CheckModel();
     return View(model);
 }