Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohoblk-wap
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
李奇
2018-01-17 18:27:42 +0800
Commit
d344c996ffaba75ecc66f4a5a9c6837aec109fa9
1 parent
fae78914
changed:商品列表默认新品
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
apps/product/controllers/product-list.js
apps/product/controllers/product-list.js
View file @
d344c99
...
...
@@ -12,7 +12,7 @@ const _ = require('lodash');
exports
.
index
=
(
req
,
res
,
next
)
=>
{
const
params
=
req
.
query
;
params
.
order
=
''
;
params
.
order
=
'
s_t_desc
'
;
params
.
page
=
1
;
searchModel
.
products
(
params
).
then
(
result
=>
{
...
...
Please
register
or
login
to post a comment