Authored by TaoHuang

add canpcbuy

... ... @@ -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) {
// 去掉即将售罄
... ...