...
|
...
|
@@ -60,7 +60,7 @@ const shop = { |
|
|
* 新路由承接页,参数解析
|
|
|
*/
|
|
|
resolveParams(req, res, next) {
|
|
|
let pathParams = _.last(_.split(req.url.replace('.html', ''), '/'));
|
|
|
let pathParams = _.last(_.split(req.path.replace('.html', ''), '/'));
|
|
|
|
|
|
req.query.shop_id = _.last(_.split(pathParams, '-'));
|
|
|
shop.entry(req, res, next);
|
...
|
...
|
|