|
@@ -89,6 +89,17 @@ return array
|
|
|
'search' => 'fulltext',
|
|
|
'list' => true,
|
|
|
),
|
|
|
+ 'reading' => array
|
|
|
+ (
|
|
|
+ 'type' => 'varchar-255',
|
|
|
+ 'name' => '导读',
|
|
|
+ 'default' => '',
|
|
|
+ 'desc' => '请输入导读',
|
|
|
+ 'match' => 'option',
|
|
|
+ 'update' => 'textarea',
|
|
|
+ 'search' => 'fulltext',
|
|
|
+ 'list' => true,
|
|
|
+ ),
|
|
|
|
|
|
'subname' => array
|
|
|
(
|
|
@@ -97,7 +108,7 @@ return array
|
|
|
'default' => '',
|
|
|
'desc' => '子标题',
|
|
|
'match' => 'option',
|
|
|
- 'update' => 'text',
|
|
|
+ // 'update' => 'text',
|
|
|
//'search' => 'fulltext',
|
|
|
//'list' => true,
|
|
|
),
|
|
@@ -306,7 +317,7 @@ return array
|
|
|
'type' => 'all',
|
|
|
'order' => array('reorder' => 'desc', 'id' => 'desc'),
|
|
|
'page' => array(10, 'list'),
|
|
|
- 'col' => 'id, name, subname,pic, top, cate_id, info_id, author_id, content, (num_view+num_add_view) as num_view,num_up,num_review, cdate',
|
|
|
+ 'col' => 'id, name, reading,subname,pic, top, cate_id, info_id, author_id, content, (num_view+num_add_view) as num_view,num_up,num_review, cdate',
|
|
|
),
|
|
|
|
|
|
# 更新浏览量
|