Authored by 郭成尧

path-params

@@ -142,7 +142,7 @@ router.post('/seckill/remind', seckill.remind); // only app; 秒杀提醒 @@ -142,7 +142,7 @@ router.post('/seckill/remind', seckill.remind); // only app; 秒杀提醒
142 router.get('/seckill/get-product-list', seckill.getProductList); // 秒杀列表根据活动id获取商品列表 142 router.get('/seckill/get-product-list', seckill.getProductList); // 秒杀列表根据活动id获取商品列表
143 143
144 router.get('/search', search.index); // 搜索主页 144 router.get('/search', search.index); // 搜索主页
145 -router.get('/search/list', rewrite.resolvePathParams, search.list); // 搜索落地页 145 +router.get('/search/list(/:pathParams)?', rewrite.resolvePathParams, search.list); // 搜索落地页
146 router.get('/search/filter', rewrite.resolvePathParamsAjax, search.filter); // filter 146 router.get('/search/filter', rewrite.resolvePathParamsAjax, search.filter); // filter
147 router.get('/search/fuzzyDatas', search.fuzzyDatas); // fuzzyDatas 147 router.get('/search/fuzzyDatas', search.fuzzyDatas); // fuzzyDatas
148 router.get('/search/search', rewrite.resolvePathParamsAjax, search.search); // ajax 请求商品数据 148 router.get('/search/search', rewrite.resolvePathParamsAjax, search.search); // ajax 请求商品数据