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
Plain Diff
Browse Files
Authored by
周少峰
8 years ago
Commit
e6a826412c9346ebd4e5226d48b27f8fb308b61e
2 parents
2b5899c3
c6c72f7b
Merge branch 'hotfix/brandfav'
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
3 deletions
apps/product/models/detail-service.js
apps/product/models/detail-service.js
View file @
e6a8264
...
...
@@ -1063,11 +1063,9 @@ const _detailDataPkg = (origin, uid, vipLevel, cookies) => {
result
.
goCartUrl
=
helpers
.
urlFormat
(
'/shopping/cart'
);
let
brandId
=
propOrigin
(
'brand_info.brand_id'
,
0
);
let
requestApi
=
{
addition
:
_getProductAdditionInfoAsync
(
origin
),
// 预处理所有的数据
fav
:
_getProductFavoriteDataAsync
(
uid
,
result
.
productI
),
// 处理收藏喜欢数据
fav
:
_getProductFavoriteDataAsync
(
uid
,
result
.
productI
d
),
// 处理收藏喜欢数据
promotion
:
productAPI
.
getPromotionAsync
(
result
.
skn
)
// 打折信息
};
...
...
Please
register
or
login
to post a comment