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
87a7fe433615ec0cb0f3c797e21c78ef82f6d5a7
1 parent
f8b52844
'viphref'
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
apps/product/models/sale.js
apps/product/models/sale.js
View file @
87a7fe4
...
...
@@ -301,7 +301,7 @@ exports.getSaleOthersData = (params, channel) => {
if
(
result
[
2
].
code
===
200
)
{
finalResult
.
topBanner
=
saleHandler
.
handleSaleBannerData
(
result
[
2
].
data
);
if
(
params
.
saleType
!==
'2'
)
{
_
.
forEach
(
finalResult
.
topBanner
.
list
,
(
value
,
key
)
=>
{
_
.
forEach
(
finalResult
.
topBanner
.
list
,
(
value
,
key
)
=>
{
delete
finalResult
.
topBanner
.
list
[
key
].
href
;
});
}
...
...
@@ -455,7 +455,7 @@ exports.getSalebreakingYardsData = (params, channel) => {
// 处理 banner 数据
if
(
result
[
1
].
code
===
200
)
{
finalResult
.
topBanner
=
saleHandler
.
handleSaleBannerData
(
result
[
1
].
data
);
_
.
forEach
(
finalResult
.
topBanner
.
list
,
(
value
,
key
)
=>
{
_
.
forEach
(
finalResult
.
topBanner
.
list
,
(
value
,
key
)
=>
{
delete
finalResult
.
topBanner
.
list
[
key
].
href
;
});
}
else
{
...
...
Please
register
or
login
to post a comment