|
@@ -69,6 +69,7 @@ class FloorRepository
|
|
|
if($item->floor_type == 0){
|
|
|
//banner
|
|
|
$banner = $this->getBanner($item->group_ids);
|
|
|
+ Log::debug('推荐内容楼层-banner'.json_encode($banner));
|
|
|
if($banner){
|
|
|
$data[$item->floor_location] = [
|
|
|
'show_type' => 'banner',
|
|
@@ -86,6 +87,7 @@ class FloorRepository
|
|
|
if(!$memberIds) continue;
|
|
|
$memberIds = implode($memberIds, ',');
|
|
|
$member = $this->getMemberGroup($memberIds);
|
|
|
+ Log::debug('推荐内容楼层-user'.json_encode($member));
|
|
|
if(!$member) continue;
|
|
|
$data[$item->floor_location] = [
|
|
|
'show_type' => 'user',
|
|
@@ -102,6 +104,7 @@ class FloorRepository
|
|
|
if(!$videoIds) continue;
|
|
|
$videoIds = implode($videoIds, ',');
|
|
|
$video = $this->getPostVideo($videoIds);
|
|
|
+ Log::debug('推荐内容楼层-video'.json_encode($video));
|
|
|
if(!$video) continue;
|
|
|
$data[$item->floor_location] = [
|
|
|
'show_type' => 'video',
|
|
@@ -118,6 +121,7 @@ class FloorRepository
|
|
|
if(!$topicIds) continue;
|
|
|
$topicIds = implode($topicIds, ',');
|
|
|
$topic = $this->getTopic($topicIds);
|
|
|
+ Log::debug('推荐内容楼层-topic'.json_encode($topic));
|
|
|
if(!$topic) continue;
|
|
|
$data[$item->floor_location] = [
|
|
|
'show_type' => 'topic',
|