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
TaoHuang
6 years ago
Commit
c29042cf36d3a9af0be2cdb32275398c95d8dcb7
1 parent
d0d438b5
add canpcbuy
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 @
c29042c
...
...
@@ -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