...
|
...
|
@@ -39,7 +39,11 @@ const _getUidFromUserAgent = (req) => { |
|
|
const _baseShop = (req, res, shopInfo, shopId) => {
|
|
|
|
|
|
listModel.getBaseShopData(req.query, shopInfo).then(result => {
|
|
|
|
|
|
if (result && result.baseShopHome && result.baseShopHome.banner) {
|
|
|
if (result.baseShopHome.banner.indexOf('?') < 0) {
|
|
|
result.baseShopHome.banner += '?imageMogr2/auto-orient/strip/thumbnail/x150/crop/640x150';
|
|
|
}
|
|
|
}
|
|
|
res.render('search/goods-list', {
|
|
|
module: 'product',
|
|
|
page: 'search-list',
|
...
|
...
|
|