...
|
...
|
@@ -61,9 +61,8 @@ const shop = { |
|
|
*/
|
|
|
resolveParams(req, res, next) {
|
|
|
let pathParams = _.last(_.split(req.url.replace('.html', ''), '/'));
|
|
|
let shopId = _.last(_.split(pathParams, '-'));
|
|
|
|
|
|
req.query.domain = pathParams.replace(`-${shopId}`, '');
|
|
|
req.query.shop_id = _.last(_.split(pathParams, '-'));
|
|
|
shop.entry(req, res, next);
|
|
|
},
|
|
|
|
...
|
...
|
|