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

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

@@ -188,7 +188,7 @@ class CoflController extends Controller
         $get_free_currency = UserBindHkWelfareService::getByOpenidToken($openid,$token);
         $get_free_currency = UserBindHkWelfareService::getByOpenidToken($openid,$token);
         if($get_free_currency){
         if($get_free_currency){
             //已经领过
             //已经领过
-            $link = $this->getLink($get_free_currency->distribution_channel_id).'recent?'.http_build_query($params);
+            $link = $this->getLink(($user[1]).'recent?'.http_build_query($params);
             return view('crm.bindHkFreeCurrencyV2',['fee'=>$fee,'url'=>$link,'is_get'=>1,'uid'=>$get_free_currency->uid,'source'=>$source]);
             return view('crm.bindHkFreeCurrencyV2',['fee'=>$fee,'url'=>$link,'is_get'=>1,'uid'=>$get_free_currency->uid,'source'=>$source]);
         }else{
         }else{
             $link = $this->getLink($user[1]).'recent?'.http_build_query($params);
             $link = $this->getLink($user[1]).'recent?'.http_build_query($params);