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
黄涛
2019-04-15 10:20:39 +0800
Commit
4183a8ee1b7068723a85533b5de40b9374e7ccec
2 parents
3fffb90d
c29042cf
Merge branch 'feature/canbuy' into 'release/6.9.0'
add canpcbuy See merge request
!430
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 @
4183a8e
...
...
@@ -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