Sfoglia il codice sorgente

全部显示广告

shish 1 anno fa
parent
commit
0171950fce
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      app-hd/controllers/GhsController.php

+ 2 - 2
app-hd/controllers/GhsController.php

@@ -179,9 +179,9 @@ class GhsController extends BaseController
         if (isset($respond['list']) && !empty($respond['list'])) {
             foreach ($respond['list'] as $key => $ghs) {
                 if (getenv('YII_ENV') == 'production') {
-                    $noAdShopId = [25159, 41379];
+                    $noAdShopId = [0];
                 } else {
-                    $noAdShopId = [1];
+                    $noAdShopId = [0];
                 }
                 if (isset($ghs['shopId']) && in_array($ghs['shopId'], $noAdShopId)) {
                     $showAd = 0;