Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuy-node
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
1
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Plain Diff
Browse Files
Authored by
周少峰
8 years ago
Commit
fc8fd56d6a257624f0b441d444fd1f32f345e4b8
2 parents
21b87b62
060ae7b6
Merge branch 'hotfix/sale'
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
5 deletions
apps/product/controllers/sale.js
apps/product/controllers/sale.js
View file @
fc8fd56
...
...
@@ -9,8 +9,6 @@
const
mRoot
=
'../models'
;
const
sale
=
require
(
`
$
{
mRoot
}
/sale`
)
; /
/
sale
页
model
const
_
=
require
(
'lodash'
);
/**
* sale 首页
* @param {[type]} req [description]
...
...
@@ -152,9 +150,6 @@ exports.special = (req, res, next) => {
return
next
();
}
_
.
omit
(
params
,
'specialsale_id'
);
params
.
productPool
=
specialId
;
sale
.
getSaleSpecialData
(
specialId
,
params
,
req
.
yoho
.
channel
).
then
(
result
=>
{
res
.
render
(
'sale/special'
,
result
);
}).
catch
(
next
);
...
...
Please
register
or
login
to post a comment