|
|
@@ -239,6 +239,12 @@ class MainController extends BaseController
|
|
|
}
|
|
|
$smallShopImg = $shopImg . "?x-oss-process=image/resize,m_fill,h_180,w_180";
|
|
|
|
|
|
+ //是否显示推荐广告
|
|
|
+ $showAd = 0;
|
|
|
+ if ($this->mainId == 58) {
|
|
|
+ $showAd = 0;
|
|
|
+ }
|
|
|
+
|
|
|
$deadline = $sj['deadline'] ?? '';
|
|
|
$relation = isset($this->shopAdmin) && !empty($this->shopAdmin) ? $this->shopAdmin->attributes : [];
|
|
|
$adminName = $relation['name'] ?? '';
|
|
|
@@ -266,6 +272,7 @@ class MainController extends BaseController
|
|
|
'lookMoney' => $lookMoney,
|
|
|
'fast1' => '17189513228',
|
|
|
'fast2' => '15280215347',
|
|
|
+ 'showAd' => $showAd,
|
|
|
];
|
|
|
util::success($data);
|
|
|
}
|