routes.product.ini
1001 Bytes
; 折扣专区(SALE)
routes.productsale.type = "rewrite"
routes.productsale.match = "/sale"
routes.productsale.route.module = Product
routes.productsale.route.controller = List
routes.productsale.route.action = sale
; list专区(new)
routes.productnew.type = "rewrite"
routes.productnew.match = "/new"
routes.productnew.route.module = Product
routes.productnew.route.controller = List
routes.productnew.route.action = new
;list(根据product_skn获取产品图片信息)
routes.productgetProductPic.type = "rewrite"
routes.productgetProductPic.match = "/getProductPic"
routes.productgetProductPic.route.module = Product
routes.productgetProductPic.route.controller = List
routes.productgetProductPic.route.action = getProductPic
;api(search api suggest)
routes.searchsuggest.type = "rewrite"
routes.searchsuggest.match = "/api/suggest"
routes.searchsuggest.route.module = Product
routes.searchsuggest.route.controller = Search
routes.searchsuggest.route.action = suggest