shish 3 лет назад
Родитель
Сommit
691c1db750
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      app-ghs/controllers/ShopController.php

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

@@ -363,7 +363,7 @@ class ShopController extends BaseController
     public function actionGetPtGhsShop()
     {
         $hasSale = Yii::$app->request->get('hasSale', 0);
-        $shopList = ShopClass::getAllByCondition(['ptStyle' => 2], 'id asc', '*');
+        $shopList = ShopClass::getAllByCondition(['ptStyle' => 2, 'live' => 1], 'id asc', '*');
         $totalSale = 0;
         $totalShopNum = 0;
         $totalBalance = 0;