Browse Source

advertise

tusx 6 years ago
parent
commit
6f38848707
1 changed files with 8 additions and 1 deletions
  1. 8 1
      app/Http/Controllers/Wap/Web/WelcomeController.php

+ 8 - 1
app/Http/Controllers/Wap/Web/WelcomeController.php

@@ -123,7 +123,14 @@ class WelcomeController extends BaseController
             $yctj_url = 'https://m.ycsd.cn/continue';
         }
         //app广告
-        $add_ad_status = $this->appad();
+        $add_ad_status=[
+            'app_ad'=>false,
+            'appad_banner'=>'',
+            'appad_url'=>''
+        ];
+        if($this->distribution_channel_id=211)  {
+              $add_ad_status = $this->appad();
+        }
         $options = json_encode([
             'distribution_channel_id' => (int)$this->distribution_channel_id,
             'send_order_id' => $send_order_id,