|
@@ -92,13 +92,13 @@ class CoflController extends Controller
|
|
}
|
|
}
|
|
|
|
|
|
$user = $this->getUsers($openid);
|
|
$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]);
|
|
$get_free_currency = UserBindHkWelfareService::isHasGet($user[0]);
|
|
if($get_free_currency){
|
|
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{
|
|
}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');
|
|
$crm = $request->get('crm');
|
|
$this->stats('recent',$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);
|
|
return redirect()->to($link);
|
|
}
|
|
}
|
|
|
|
|
|
@@ -193,7 +193,7 @@ class CoflController extends Controller
|
|
}
|
|
}
|
|
$crm = $request->get('crm');
|
|
$crm = $request->get('crm');
|
|
$this->stats('person',$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);
|
|
return redirect()->to($link);
|
|
}
|
|
}
|
|
|
|
|