Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuywap-node
·
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
Plain Diff
Browse Files
Authored by
ccbikai(👎🏻🍜)
2016-10-22 13:25:16 +0800
Commit
0cb8ed9f2085965ec34ea6dcabdd6c72f66272a2
2 parents
a96bb72f
e9b6e88d
Merge branch 'master' into release/5.1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
apps/product/controllers/new.js
apps/product/models/detail.js
apps/product/controllers/new.js
View file @
0cb8ed9
...
...
@@ -15,7 +15,7 @@ const helpers = global.yoho.helpers;
// 新品到着
const
newGoods
=
(
req
,
res
,
next
)
=>
{
let
channel
=
req
.
cookies
.
_C
hannel
;
let
channel
=
req
.
yoho
.
c
hannel
;
newModel
.
getNewFocus
(
channel
).
then
((
result
)
=>
{
res
.
render
(
'new/new'
,
{
...
...
apps/product/models/detail.js
View file @
0cb8ed9
...
...
@@ -1247,7 +1247,7 @@ const _detailDataPkg = (origin, ua) => {
});
// 品牌信息
if
(
origin
.
brand
)
{
if
(
origin
.
brand
_info
)
{
let
extra
=
`
?
productSkn
=
$
{
origin
.
product_skn
}
&
brandId
=
$
{
origin
.
brand_info
.
brand_id
}
`
;
dest
.
preferenceUrl
=
`
/
product
/
detail
/
preference$
{
extra
}
`
;
...
...
Please
register
or
login
to post a comment