Authored by hf

fixes bug to home page login show status

@@ -89,6 +89,7 @@ class Bootstrap extends Bootstrap_Abstract @@ -89,6 +89,7 @@ class Bootstrap extends Bootstrap_Abstract
89 $module = 'Guang'; 89 $module = 'Guang';
90 break; 90 break;
91 case 'list': // 商品列表 91 case 'list': // 商品列表
  92 + case 'item': // 商品详情
92 $module = 'Product'; 93 $module = 'Product';
93 break; 94 break;
94 default: // 其它(识别为品牌) 95 default: // 其它(识别为品牌)
@@ -4,3 +4,19 @@ routes.goodsfilter.match = "/search/filter" @@ -4,3 +4,19 @@ routes.goodsfilter.match = "/search/filter"
4 routes.goodsfilter.route.module = Index 4 routes.goodsfilter.route.module = Index
5 routes.goodsfilter.route.controller = Search 5 routes.goodsfilter.route.controller = Search
6 routes.goodsfilter.route.action = Filter 6 routes.goodsfilter.route.action = Filter
  7 +
  8 +; 商品详情
  9 +routes.product.type = "regex"
  10 +routes.product.match = "#/product/pro_([0-9]+)_([0-9]+)/(.*)#"
  11 +routes.product.route.module = Product
  12 +routes.product.route.controller = Detail
  13 +routes.product.route.action = Index
  14 +routes.product.map.1 = productId
  15 +routes.product.map.2 = goodsId
  16 +
  17 +routes.productintro.type = "regex"
  18 +routes.productintro.match = "#/product/intro_([0-9]+)/(.*).html#"
  19 +routes.productintro.route.module = Product
  20 +routes.productintro.route.controller = Detail
  21 +routes.productintro.route.action = Intro
  22 +routes.productintro.map.1 = productSkn