|
|
@@ -441,6 +441,10 @@ class ProductController extends BaseController
|
|
|
//根据分类组装分类下的花材信息
|
|
|
$shop = ShopClass::getById($shopId, true);
|
|
|
$mainId = $shop->mainId ?? 0;
|
|
|
+ $open = $shop->open??1;
|
|
|
+ if($open == 0){
|
|
|
+ util::fail('已休店');
|
|
|
+ }
|
|
|
$classIds = ItemClassClass::getGhsItemClassAll($mainId);
|
|
|
$where['mainId'] = $mainId;
|
|
|
$where['delStatus'] = 0;
|