Showing
1 changed file
with
4 additions
and
5 deletions
@@ -5,7 +5,6 @@ | @@ -5,7 +5,6 @@ | ||
5 | 'use strict'; | 5 | 'use strict'; |
6 | const mRoot = '../models'; | 6 | const mRoot = '../models'; |
7 | 7 | ||
8 | - | ||
9 | const listModel = require(`${mRoot}/list`); | 8 | const listModel = require(`${mRoot}/list`); |
10 | const searchModel = require(`${mRoot}/search`); | 9 | const searchModel = require(`${mRoot}/search`); |
11 | const headerModel = require('../../../doraemon/models/header'); | 10 | const headerModel = require('../../../doraemon/models/header'); |
@@ -48,8 +47,8 @@ const shop = { | @@ -48,8 +47,8 @@ const shop = { | ||
48 | let searchParam = Object.assign({ | 47 | let searchParam = Object.assign({ |
49 | isApp: req.yoho.isApp, | 48 | isApp: req.yoho.isApp, |
50 | brand: brandId, | 49 | brand: brandId, |
51 | - type: 'newest', | ||
52 | - order: '1', | 50 | + type: 'default', |
51 | + order: '0', | ||
53 | page: 1, | 52 | page: 1, |
54 | limit: 4, | 53 | limit: 4, |
55 | }, params); | 54 | }, params); |
@@ -156,8 +155,8 @@ const shop = { | @@ -156,8 +155,8 @@ const shop = { | ||
156 | let searchParam = { | 155 | let searchParam = { |
157 | isApp: req.yoho.isApp, | 156 | isApp: req.yoho.isApp, |
158 | shop_id: shopId, | 157 | shop_id: shopId, |
159 | - type: 'newest', | ||
160 | - order: '1', | 158 | + type: 'default', |
159 | + order: '0', | ||
161 | page: 1, | 160 | page: 1, |
162 | limit: 4 | 161 | limit: 4 |
163 | }; | 162 | }; |
-
Please register or login to post a comment