|
|
@@ -327,7 +327,12 @@ class PurchaseController extends BaseController
|
|
|
}
|
|
|
$currentName = $currentInfo['name'] ?? '';
|
|
|
if (isset($currentInfo['frontHide']) && $currentInfo['frontHide'] == 1) {
|
|
|
- util::fail($currentName . '没有库存,请删除');
|
|
|
+ //珑松珠海店,隐藏的商品,分享出去了也要能下单。644 是测试账号的mainId
|
|
|
+ if (isset($currentInfo['mainId']) && in_array($currentInfo['mainId'], [14116, 644])) {
|
|
|
+
|
|
|
+ } else {
|
|
|
+ util::fail($currentName . '没有库存,请删除');
|
|
|
+ }
|
|
|
}
|
|
|
$presell = $currentInfo['presell'] ?? 0;
|
|
|
$presellData[] = $presell;
|