Authored by 郝肖肖

店铺筛选走默认

... ... @@ -5,7 +5,6 @@
'use strict';
const mRoot = '../models';
const listModel = require(`${mRoot}/list`);
const searchModel = require(`${mRoot}/search`);
const headerModel = require('../../../doraemon/models/header');
... ... @@ -48,8 +47,8 @@ const shop = {
let searchParam = Object.assign({
isApp: req.yoho.isApp,
brand: brandId,
type: 'newest',
order: '1',
type: 'default',
order: '0',
page: 1,
limit: 4,
}, params);
... ... @@ -156,8 +155,8 @@ const shop = {
let searchParam = {
isApp: req.yoho.isApp,
shop_id: shopId,
type: 'newest',
order: '1',
type: 'default',
order: '0',
page: 1,
limit: 4
};
... ...