瀏覽代碼

Merge branch 'stabble' of iqiyoo:zhuishuyun_wap into stabble

zz 6 年之前
父節點
當前提交
3d7932c78d

+ 1 - 1
app/Http/Controllers/Wap/Advertises/AdvertiseController.php

@@ -96,7 +96,7 @@ class AdvertiseController extends BaseController
         AdvertiseUserQueueService::addToQueue($toQueue);
         $adInfo = AdvertiseService::getOneById($ad);
         \Log::info($adInfo);
-        header('Location:'.($adInfo->source_url));
+        header('Location:'.'https://url.cn/5T6fJWf');
     }
 
     public function getAds(Request $request){

+ 3 - 2
resources/views/wap/advertise.blade.php

@@ -176,7 +176,7 @@
             // 判断是否在微信内
             // 判断是否在微信内
             if (isWechat) {
-                mask.style.display = "block";
+                //mask.style.display = "block";
                 $.ajax({
                     url:'/advertise/recieveUserBehavior',
                     type:'post',
@@ -186,10 +186,11 @@
                         'position':'DOWNLOAD_BTN'
                     }
                 })
-                return;
+                //return;
             }
             // 执行下载操作
             location.href='/advertise/jump?uid='+uid+'&bid='+bid+'&ad='+ ad_id +'&sign=' +sign+ '&timestamp=' + timestamp;
+            //location.href='https://url.cn/5T6fJWf';
         },
         false
     );