|
@@ -43,6 +43,7 @@ if ($info) {
|
|
|
$link_state = in_array(2, $info['col']);
|
|
|
$pic_state = in_array(3, $info['col']);
|
|
|
$content_state = in_array(4, $info['col']);
|
|
|
+ $share_pic_state = in_array(5, $info['col']);
|
|
|
|
|
|
|
|
|
if ($info['data_type']) {
|
|
@@ -53,6 +54,7 @@ if ($info) {
|
|
|
$info = array();
|
|
|
$info['name'] = '推送数据管理';
|
|
|
$info['col_pic'] = '100X100';
|
|
|
+ $info['col_share_pic'] = '100X100';
|
|
|
$info['col_content'] = '30';
|
|
|
$info['type'] = 1;
|
|
|
$name_state = true;
|
|
@@ -241,6 +243,19 @@ return array
|
|
|
'key' => 1
|
|
|
),
|
|
|
|
|
|
+ 'share_pic' => array
|
|
|
+ (
|
|
|
+ 'type' => 'varchar-200',
|
|
|
+ 'name' => '分享图片-请上传' . $info['col_share_pic'] . '大小的图片',
|
|
|
+ 'default' => '',
|
|
|
+ 'desc' => '分享图片',
|
|
|
+ 'match' => $share_pic_state ? 'option' : 'option',
|
|
|
+ 'update' => $share_pic_state ? 'image' : 'hidden',
|
|
|
+ 'search' => $share_pic_state ? 'fulltext' : '',
|
|
|
+
|
|
|
+ 'key' => 1
|
|
|
+ ),
|
|
|
+
|
|
|
'content' => array
|
|
|
(
|
|
|
'type' => 'text-255',
|
|
@@ -303,7 +318,7 @@ return array
|
|
|
'type' => 'all',
|
|
|
'order' => array('reorder' => 'desc', 'id' => 'desc'),
|
|
|
'limit' => '0,10',
|
|
|
- 'col' => 'name,pic,olink as link,type,article_id,vod_id,live_id,journal_id,feature_id,applet_id,cdate',
|
|
|
+ 'col' => 'name,pic,share_pic,olink as link,type,article_id,vod_id,live_id,journal_id,feature_id,applet_id,cdate',
|
|
|
),
|
|
|
|
|
|
|
|
@@ -319,7 +334,7 @@ return array
|
|
|
'type' => 'all',
|
|
|
'order' => array('reorder' => 'desc', 'id' => 'desc'),
|
|
|
'page' => array(10, 'list'),
|
|
|
- 'col' => 'name,pic,olink as link,type,article_id,vod_id,live_id,journal_id,feature_id,applet_id,cdate',
|
|
|
+ 'col' => 'name,pic,share_pic,olink as link,type,article_id,vod_id,live_id,journal_id,feature_id,applet_id,cdate',
|
|
|
),
|
|
|
),
|
|
|
);
|