Authored by 黄涛

Merge branch 'feature/canbuy' into 'release/6.9.0'

add canpcbuy



See merge request !430
@@ -1401,6 +1401,11 @@ function _detailDataPkg(origin, uid, vipLevel, cookies) { @@ -1401,6 +1401,11 @@ function _detailDataPkg(origin, uid, vipLevel, cookies) {
1401 result.addToCart = false; 1401 result.addToCart = false;
1402 } 1402 }
1403 1403
  1404 + // pc端不能购买商品
  1405 + if (propOrigin('canPcBuy', true) === false) {
  1406 + result.addToCart = false;
  1407 + }
  1408 +
1404 // 去掉即将售罄 1409 // 去掉即将售罄
1405 if (totalStorageNum || soldOut) { 1410 if (totalStorageNum || soldOut) {
1406 // 去掉即将售罄 1411 // 去掉即将售罄