Authored by 周少峰

Merge branch 'develop' of git.dev.yoho.cn:web/yohobuy into feature/web-list

@@ -62,7 +62,6 @@ class HomeModel @@ -62,7 +62,6 @@ class HomeModel
62 if (empty($data)) { 62 if (empty($data)) {
63 return array(); 63 return array();
64 } 64 }
65 -  
66 $menu = array(); 65 $menu = array();
67 $key = sprintf('%s_%s_%s',CacheConfig::KEY_WEB_HOME_NAVBAR_DATA, md5(serialize($data)), $channel); 66 $key = sprintf('%s_%s_%s',CacheConfig::KEY_WEB_HOME_NAVBAR_DATA, md5(serialize($data)), $channel);
68 $menu = Cache::get($key); 67 $menu = Cache::get($key);
@@ -4,3 +4,17 @@ routes.productsale.match = "/sale" @@ -4,3 +4,17 @@ routes.productsale.match = "/sale"
4 routes.productsale.route.module = Product 4 routes.productsale.route.module = Product
5 routes.productsale.route.controller = List 5 routes.productsale.route.controller = List
6 routes.productsale.route.action = sale 6 routes.productsale.route.action = sale
  7 +
  8 +; list专区(new)
  9 +routes.productnew.type = "rewrite"
  10 +routes.productnew.match = "/new"
  11 +routes.productnew.route.module = Product
  12 +routes.productnew.route.controller = List
  13 +routes.productnew.route.action = new
  14 +
  15 +;list(根据product_skn获取产品图片信息)
  16 +routes.productgetProductPic.type = "rewrite"
  17 +routes.productgetProductPic.match = "/getProductPic"
  18 +routes.productgetProductPic.route.module = Product
  19 +routes.productgetProductPic.route.controller = List
  20 +routes.productgetProductPic.route.action = getProductPic