zz 6 years ago
parent
commit
0f662ed403
1 changed files with 5 additions and 5 deletions
  1. 5 5
      app/Http/Controllers/Wap/User/CoflController.php

+ 5 - 5
app/Http/Controllers/Wap/User/CoflController.php

@@ -92,13 +92,13 @@ class CoflController extends Controller
         }
 
         $user = $this->getUsers($openid);
-        if(!$user || !$user[0] || !$user[1]) return redirect()->to($this->getLink());
+        if(!$user || !$user[0] || !$user[1]) return redirect()->to($this->getLink().'?'.http_build_query($params));
         $get_free_currency = UserBindHkWelfareService::isHasGet($user[0]);
         if($get_free_currency){
             //已经领过
-            return view('jump.bindHkFreeCurrency',['fee'=>$fee,'url'=>$this->getLink($get_free_currency->distribution_channel_id),'is_get'=>1,'uid'=>$get_free_currency->uid]);
+            return view('jump.bindHkFreeCurrency',['fee'=>$fee,'url'=>$this->getLink($get_free_currency->distribution_channel_id).'?'.http_build_query($params),'is_get'=>1,'uid'=>$get_free_currency->uid]);
         }else{
-            return view('jump.bindHkFreeCurrency',['fee'=>$fee,'url'=>$this->getLink($user[1]),'is_get'=>0,'uid'=>$user[0]]);
+            return view('jump.bindHkFreeCurrency',['fee'=>$fee,'url'=>$this->getLink($user[1]).'?'.http_build_query($params),'is_get'=>0,'uid'=>$user[0]]);
         }
     }
 
@@ -171,7 +171,7 @@ class CoflController extends Controller
         }
         $crm = $request->get('crm');
         $this->stats('recent',$crm);
-        $link = $this->getLink($distribution_channel_id).'recent';
+        $link = $this->getLink($distribution_channel_id).'recent?'.http_build_query($params);
         return redirect()->to($link);
     }
 
@@ -193,7 +193,7 @@ class CoflController extends Controller
         }
         $crm = $request->get('crm');
         $this->stats('person',$crm);
-        $link = $this->getLink($distribution_channel_id).'person';
+        $link = $this->getLink($distribution_channel_id).'person?'.http_build_query($params);
         return redirect()->to($link);
     }