Browse Source

屏蔽商家

shish 3 years ago
parent
commit
502c4c8a55
1 changed files with 3 additions and 1 deletions
  1. 3 1
      app-hd/controllers/GhsController.php

+ 3 - 1
app-hd/controllers/GhsController.php

@@ -58,9 +58,11 @@ class GhsController extends BaseController
     //供货商列表 ssh 2021.1.24
     public function actionList()
     {
+        $get = Yii::$app->request->get();
+        $delStatus = isset($get['delStatus']) && is_numeric($get['delStatus']) ? $get['delStatus'] : 0
         $where = [];
         $where['ownShopId'] = $this->shopId;
-        $where['delStatus'] = 0;
+        $where['delStatus'] = $delStatus;
         $respond = GhsClass::getGhsList($where);
         util::success($respond);
     }