zz 5 éve
szülő
commit
6ceb541ebe
1 módosított fájl, 3 hozzáadás és 3 törlés
  1. 3 3
      app/Http/Controllers/Wap/User/UserController.php

+ 3 - 3
app/Http/Controllers/Wap/User/UserController.php

@@ -747,10 +747,10 @@ where bid in (%s) and is_on_shelf =2 ORDER  by field(book_configs.bid,%s)',$bids
                         ->where('id',$personal_account_id)
                         ->where('is_enable',1)
                         ->select('name','url','status','is_enable')->first();
-                    $user_info = UserService::getById($friend_link_uid_bind[0]->uid);
-                    $link = sprintf('https://site%s.leyuee.com',encodeDistributionChannelId($user_info->distribution_channel_id));
+                    //$user_info = UserService::getById($friend_link_uid_bind[0]->uid);
+                    //$link = sprintf('https://site%s.leyuee.com',encodeDistributionChannelId($user_info->distribution_channel_id));
                     if($personal_info){
-                        $data = ['code'=>-2,'name'=>$personal_info->name,'read_url'=>$link.'/guidestrem?uid='.$this->uid.'&name='.$personal_info->name.'&img='.urlencode($personal_info->url)];
+                        $data = ['code'=>-2,'name'=>$personal_info->name,'read_url'=>'/guidestrem?uid='.$this->uid.'&name='.$personal_info->name.'&img='.urlencode($personal_info->url)];
                         return view('crm.crmPush',$data);
                     }
                 }