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
lijing
9 years ago
Commit
0ed743684e9b2ae34c8183ae1a5159918eb390bc
1 parent
05f7788f
收藏数量
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletions
apps/home/models/index.js
apps/home/models/index.js
View file @
0ed7436
...
...
@@ -126,6 +126,12 @@ const index = (params) => {
});
}
if
(
result
[
2
]
&&
result
[
2
].
data
)
{
Object
.
assign
(
finalResult
,
{
productFavoriteTotal
:
result
[
2
].
data
.
product_favorite_total
});
}
if
(
result
[
3
]
&&
result
[
3
].
data
)
{
Object
.
assign
(
finalResult
,
{
sendCargoNum
:
result
[
3
].
data
.
send_cargo_num
,
...
...
@@ -135,7 +141,6 @@ const index = (params) => {
inboxTotal
:
result
[
3
].
data
.
inbox_total
,
couponNum
:
result
[
3
].
data
.
coupon_num
,
brandFavoriteTotal
:
result
[
3
].
data
.
brand_favorite_total
,
productFavoriteTotal
:
result
[
3
].
data
.
product_favorite_total
,
productBrowse
:
result
[
3
].
data
.
product_browse
});
}
...
...
Please
register
or
login
to post a comment