|
@@ -44,6 +44,8 @@ $share = array
|
|
|
2 => '不显示',
|
|
|
);
|
|
|
|
|
|
+$col = 'id,name,pic_cover,pdate,num_add_user,num_user,num_add_view,num_view,num_up,num_add_up,num_comment,share_yes,share_title,share_pic,share_content,function,content,url_m3u8,url_mp4,cate_id,stream_id';
|
|
|
+
|
|
|
return array
|
|
|
(
|
|
|
|
|
@@ -494,7 +496,7 @@ return array
|
|
|
'type' => 'all',
|
|
|
'order' => array('id' => 'desc'),
|
|
|
'page' => array($page, 'list'),
|
|
|
- 'col' => 'id,name,pic_cover,pdate,num_add_user,num_user,num_add_view,num_view,num_up,num_add_up,num_comment,share_yes,share_title,share_pic,share_content,function,content,url_m3u8,url_mp4',
|
|
|
+ 'col' => $col,
|
|
|
),
|
|
|
|
|
|
'getRelation' => array
|
|
@@ -504,13 +506,13 @@ return array
|
|
|
(
|
|
|
'cate_id' => 'yes',
|
|
|
'cate_ids' => array('yes-cate_id', 'in'),
|
|
|
- 'noid' => array('yes', '!='),
|
|
|
+ 'noid' => array('yes-id', '!='),
|
|
|
'state' => 1,
|
|
|
),
|
|
|
'type' => 'all',
|
|
|
'order' => array('reorder' => 'desc','id' => 'desc'),
|
|
|
'limit' => '0,4',
|
|
|
- 'col' => 'id,name,pic_cover,pdate,num_add_user,num_user,num_add_view,num_view,num_up,num_add_up,num_comment,share_yes,share_title,share_pic,share_content,function,content,url_m3u8,url_mp4',
|
|
|
+ 'col' => $col,
|
|
|
),
|
|
|
|
|
|
'getOne' => array
|
|
@@ -521,7 +523,7 @@ return array
|
|
|
'id' => 'yes',
|
|
|
),
|
|
|
'type' => 'one',
|
|
|
- 'col' => 'id,name,pic_cover,pdate,num_add_user,num_user,num_add_view,num_view,num_up,num_add_up,num_comment,share_yes,share_title,share_pic,share_content,function,content,url_m3u8,url_mp4',
|
|
|
+ 'col' => $col,
|
|
|
),
|
|
|
|
|
|
|