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
陈峰
6 years ago
Commit
de16a7ceff4a99bd028214ccb5dcd2e94cce8cc9
2 parents
3fffb90d
4183a8ee
Merge branch 'release/6.9.0' into 'master'
Release/6.9.0 See merge request
!431
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
apps/product/models/detail-service.js
apps/product/models/detail-service.js
View file @
de16a7c
...
...
@@ -1401,6 +1401,11 @@ function _detailDataPkg(origin, uid, vipLevel, cookies) {
result
.
addToCart
=
false
;
}
// pc端不能购买商品
if
(
propOrigin
(
'canPcBuy'
,
true
)
===
false
)
{
result
.
addToCart
=
false
;
}
// 去掉即将售罄
if
(
totalStorageNum
||
soldOut
)
{
// 去掉即将售罄
...
...
Please
register
or
login
to post a comment