shish hace 4 años
padre
commit
6af751158d
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      app-ghs/controllers/ProductController.php

+ 1 - 1
app-ghs/controllers/ProductController.php

@@ -32,7 +32,7 @@ class ProductController extends BaseController
         //默认显示上架商品
         $status = Yii::$app->request->get('status', 1);
         //默认显示未删除商品
-        $delStatus = Yii::$app->request->get('status', 0);
+        $delStatus = Yii::$app->request->get('delStatus', 0);
 
         //获取所有当前供应商的分类 (全部、常用)
         //根据分类组装分类下的花材信息