@@ -31,6 +31,7 @@ class CategoryController extends BaseController
$where['delStatus'] = 0;
$where['status'] = 1;
+ $shop = $this->shop;
$stockModel = $shop->stockModel ?? 0;
if ($stockModel == 1) {
//管到支的,查看所有上架并且花材数量设置好的商品