tusx 6 tahun lalu
induk
melakukan
6f38848707
1 mengubah file dengan 8 tambahan dan 1 penghapusan
  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';
             $yctj_url = 'https://m.ycsd.cn/continue';
         }
         }
         //app广告
         //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([
         $options = json_encode([
             'distribution_channel_id' => (int)$this->distribution_channel_id,
             'distribution_channel_id' => (int)$this->distribution_channel_id,
             'send_order_id' => $send_order_id,
             'send_order_id' => $send_order_id,