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
Email Patches
Plain Diff
Browse Files
Authored by
阿达
9 years ago
Commit
acd372a29df9d002cdf6be62ad6475364fac351a
1 parent
a822fec8
修改salebrand 逻辑
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
apps/product/models/sale.js
apps/product/models/sale.js
View file @
acd372a
...
...
@@ -159,7 +159,9 @@ exports.getSaleIndexData = (channel) => {
// 折扣专场活动处理
if
(
result
[
1
].
code
===
200
)
{
finalResult
.
brandSale
=
saleHandler
.
handleSaleActivityData
(
result
[
1
].
data
,
channel
);
if
(
result
[
1
].
data
.
length
>
0
)
{
finalResult
.
brandSale
=
saleHandler
.
handleSaleActivityData
(
result
[
1
].
data
,
channel
);
}
}
else
{
logger
.
error
(
'discount activities api code no 200'
);
}
...
...
Please
register
or
login
to post a comment