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