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
郭成尧
2016-12-21 17:08:30 +0800
Commit
f03168b76765a0f8f839005f8f7e42aa05416aa2
2 parents
b308bec3
58621b1f
Merge branch 'hotfix/recommend' into 'master'
brand-id-undefined See merge request
!62
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
apps/product/models/new-detail.js
apps/product/models/new-detail.js
View file @
f03168b
...
...
@@ -62,7 +62,8 @@ const tool = {
dest
.
preferenceUrl
=
`
/
product
/
detail
/
preference$
{
extra
}
`
;
}
dest
.
brandId
=
origin
.
brand_info
&&
origin
.
brand_info
.
brand_id
||
0
;
// dest.brandId = origin.brand_info && origin.brand_info.brand_id || 0;
dest
.
brandId
=
_
.
get
(
origin
,
'brand_info.brand_id'
,
0
);
dest
.
productSkn
=
origin
.
product_skn
;
dest
.
id
=
origin
.
product_id
;
...
...
Please
register
or
login
to post a comment