Authored by shuaiguo

fix(product/shop): 增加shopId判断 reviewed by huangtao

... ... @@ -25,7 +25,7 @@ exports.index = (req, res, next) => {
_.isEmpty(req.query) ? null : req.query));
}
if (isNaN(+shopId)) {
if (shopId && isNaN(+shopId)) {
return res.redirect(301, '/404');
}
... ...
{
"name": "yohobuy-node",
"version": "6.9.13",
"version": "6.9.14",
"private": true,
"description": "A New Yohobuy Project With Express",
"repository": {
... ...