shish há 4 anos atrás
pai
commit
618cd3c516
1 ficheiros alterados com 1 adições e 0 exclusões
  1. 1 0
      app-mall/controllers/CategoryController.php

+ 1 - 0
app-mall/controllers/CategoryController.php

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