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
Email Patches
Plain Diff
Browse Files
Authored by
yyq
2018-08-01 11:26:20 +0800
Commit
8ba9a1fa7e07aed1b0a71d17838aaacd461eef69
1 parent
79ccb5e5
fix bunld
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
apps/product/models/detail.js
apps/product/models/new-detail.js
apps/product/models/detail.js
View file @
8ba9a1f
...
...
@@ -730,7 +730,7 @@ module.exports = class extends global.yoho.BaseModel {
this
.
_getFavorite
(
result
.
product_id
,
data
.
uid
)
];
if
(
data
.
bundleType
)
{
if
(
+
data
.
bundleType
)
{
apiArray
.
push
(
this
.
ctx
.
req
.
ctx
(
bundle
).
getBundleBySkn
(
data
.
productSkn
));
}
...
...
apps/product/models/new-detail.js
View file @
8ba9a1f
...
...
@@ -111,7 +111,7 @@ module.exports = class extends global.yoho.BaseModel {
this
.
queryPromotion
(
skn
),
// 4 促销活动
];
if
(
params
.
bundleType
)
{
if
(
+
params
.
bundleType
)
{
apiArray
.
push
(
this
.
ctx
.
req
.
ctx
(
bundle
).
getBundleBySkn
(
skn
));
}
...
...
Please
register
or
login
to post a comment