Authored by whb

list列表配置

... ... @@ -62,7 +62,6 @@ class HomeModel
if (empty($data)) {
return array();
}
$menu = array();
$key = sprintf('%s_%s_%s',CacheConfig::KEY_WEB_HOME_NAVBAR_DATA, md5(serialize($data)), $channel);
$menu = Cache::get($key);
... ...
... ... @@ -4,3 +4,18 @@ routes.productsale.match = "/sale"
routes.productsale.route.module = Product
routes.productsale.route.controller = List
routes.productsale.route.action = sale
; list专区(new)
routes.productsale.type = "rewrite"
routes.productsale.match = "/new"
routes.productsale.route.module = Product
routes.productsale.route.controller = List
routes.productsale.route.action = new
;list(根据product_skn获取产品图片信息)
routes.productsale.type = "rewrite"
routes.productsale.match = "/getProductPic"
routes.productsale.route.module = Product
routes.productsale.route.controller = List
routes.productsale.route.action = getProductPic
... ...