|
|
@@ -255,6 +255,9 @@ class PurchaseController extends BaseController
|
|
|
util::fail('只能选择同一家的商品哦');
|
|
|
}
|
|
|
$currentName = $currentInfo['name'] ?? '';
|
|
|
+ if (isset($currentInfo['frontHide']) && $currentInfo['frontHide'] == 1) {
|
|
|
+ util::fail($currentName . '没有库存请删除');
|
|
|
+ }
|
|
|
$presell = $currentInfo['presell'] ?? 0;
|
|
|
$presellData[] = $presell;
|
|
|
if ($presell == 1) {
|