...
|
...
|
@@ -22,6 +22,7 @@ const shop = { |
|
|
let brandLogo = {};
|
|
|
let title = '';
|
|
|
let uid = req.user.uid || 0;
|
|
|
let shopEnter;
|
|
|
|
|
|
if (req.query.shop_id) {
|
|
|
return shop.shop(req, res, next);
|
...
|
...
|
@@ -73,7 +74,14 @@ const shop = { |
|
|
if (brandId === 0) {
|
|
|
params.query = domain;
|
|
|
}
|
|
|
if (brandShop.length > 0 || brandLogo) {
|
|
|
|
|
|
if (req.query.app_type && parseInt(req.query.app_type, 10) === 1) {
|
|
|
shopEnter = false;
|
|
|
} else {
|
|
|
shopEnter = true;
|
|
|
}
|
|
|
|
|
|
if (brandShop.length > 0 || brandLogo && shopEnter) {
|
|
|
params = _.assign({
|
|
|
brandWay: _.isEmpty(brandShop) ? brandLogo : brandShop,
|
|
|
search: {
|
...
|
...
|
|