|
@@ -44,7 +44,7 @@ $wechat = array
|
|
|
);
|
|
|
|
|
|
|
|
|
-$col = 'id,cate_id,name,pic_cover,pic_cover_169,pdate,num_add_view+num_view as num_view,num_up+num_add_up as num_up,num_comment,share_yes,share_title,share_pic,share_content,function,content,author_id';
|
|
|
+$col = 'id,cate_id,name,pic_cover,pdate,num_add_view+num_view as num_view,num_up+num_add_up as num_up,num_comment,share_yes,share_title,share_pic,share_content,function,content,author_id';
|
|
|
|
|
|
return array
|
|
|
(
|
|
@@ -93,50 +93,29 @@ return array
|
|
|
'search' => 'select',
|
|
|
),
|
|
|
|
|
|
- 'author_id' => array
|
|
|
+ 'uid' => array
|
|
|
(
|
|
|
'type' => 'int-11',
|
|
|
- 'name' => '作者',
|
|
|
+ 'name' => '用户ID',
|
|
|
'default' => '1',
|
|
|
- 'desc' => '作者',
|
|
|
+ 'desc' => '用户ID',
|
|
|
'match' => 'is_numeric',
|
|
|
- 'update' => 'select',
|
|
|
+
|
|
|
|
|
|
'search' => 'select',
|
|
|
- 'update_search' => 'content/lib/author.search',
|
|
|
),
|
|
|
|
|
|
- 'wechat' => array
|
|
|
- (
|
|
|
- 'type' => 'int-11',
|
|
|
- 'name' => '是否公众号文章',
|
|
|
- 'default' => '1',
|
|
|
- 'desc' => '是否公众号文章',
|
|
|
- 'match' => 'is_numeric',
|
|
|
-
|
|
|
- 'option' => $wechat,
|
|
|
- 'search' => 'select',
|
|
|
- ),
|
|
|
-
|
|
|
- 'wechat_data_id' => array
|
|
|
+ 'author_id' => array
|
|
|
(
|
|
|
'type' => 'int-11',
|
|
|
- 'name' => '微信数据id',
|
|
|
+ 'name' => '作者',
|
|
|
'default' => '0',
|
|
|
- 'desc' => '微信数据id',
|
|
|
- 'match' => 'is_numeric',
|
|
|
- ),
|
|
|
-
|
|
|
- 'tag' => array
|
|
|
- (
|
|
|
- 'type' => 'text-255',
|
|
|
- 'name' => '标签',
|
|
|
- 'default' => '',
|
|
|
- 'desc' => '标签',
|
|
|
+ 'desc' => '作者',
|
|
|
'match' => 'is_numeric',
|
|
|
- 'update' => 'selects',
|
|
|
-
|
|
|
- 'update_search' => 'tag/lib/core.search',
|
|
|
+ 'update' => 'select',
|
|
|
+
|
|
|
+ 'search' => 'select',
|
|
|
+ 'update_search' => 'content/lib/author.search',
|
|
|
),
|
|
|
|
|
|
'pic_cover' => array
|
|
@@ -155,22 +134,6 @@ return array
|
|
|
|
|
|
),
|
|
|
|
|
|
- 'pic_cover_169' => array
|
|
|
- (
|
|
|
- 'type' => 'varchar-150',
|
|
|
- 'name' => '16:9封面图-图片尺寸750*422px或等比尺寸,上传大小不能超过2M,支持JPG、PNG、GIF格式,建议上传JPG格式',
|
|
|
- 'default' => '',
|
|
|
- 'desc' => '封面图',
|
|
|
- 'match' => 'is_string',
|
|
|
- 'update' => 'image',
|
|
|
- 'key' => '1',
|
|
|
- 'place' => '150',
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
- ),
|
|
|
-
|
|
|
'num_add_view' => array
|
|
|
(
|
|
|
'type' => 'int-11',
|
|
@@ -234,24 +197,6 @@ return array
|
|
|
'match' => 'is_numeric',
|
|
|
),
|
|
|
|
|
|
- 'admin_founder' => array
|
|
|
- (
|
|
|
- 'type' => 'int-11',
|
|
|
- 'name' => '创建人',
|
|
|
- 'default' => '1',
|
|
|
- 'desc' => '创建人',
|
|
|
- 'match' => 'is_numeric',
|
|
|
- ),
|
|
|
-
|
|
|
- 'admin_editor' => array
|
|
|
- (
|
|
|
- 'type' => 'int-11',
|
|
|
- 'name' => '操作人',
|
|
|
- 'default' => '1',
|
|
|
- 'desc' => '操作人',
|
|
|
- 'match' => 'is_numeric',
|
|
|
- ),
|
|
|
-
|
|
|
'pdate' => array
|
|
|
(
|
|
|
'type' => 'int-11',
|
|
@@ -266,17 +211,6 @@ return array
|
|
|
'auth' => '"{pdate}" > 0',
|
|
|
),
|
|
|
|
|
|
- 'share' => array
|
|
|
- (
|
|
|
- 'type' => 'text-255',
|
|
|
- 'name' => '分享海报-选择海报库中的海报',
|
|
|
- 'default' => '',
|
|
|
- 'desc' => '分享海报',
|
|
|
- 'match' => 'option',
|
|
|
-
|
|
|
- 'option' => $share,
|
|
|
- ),
|
|
|
-
|
|
|
'reorder' => array
|
|
|
(
|
|
|
'type' => 'int-11',
|
|
@@ -368,51 +302,6 @@ return array
|
|
|
'match' => 'is_string',
|
|
|
'update' => 'editor',
|
|
|
'key' => '1',
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
- 'editor' => array
|
|
|
- (
|
|
|
- 'name' => '选择插入模块',
|
|
|
- 'button' => array
|
|
|
- (
|
|
|
- array
|
|
|
- (
|
|
|
-
|
|
|
- 'name' => '图片',
|
|
|
-
|
|
|
- 'key' => 1,
|
|
|
-
|
|
|
- 'type' => 'image',
|
|
|
- ),
|
|
|
- array
|
|
|
- (
|
|
|
- 'name' => '音频',
|
|
|
- 'key' => 5,
|
|
|
- 'type' => 'media',
|
|
|
- ),
|
|
|
- array
|
|
|
- (
|
|
|
- 'name' => '视频',
|
|
|
- 'key' => 'video/lib/core.vod',
|
|
|
- ),
|
|
|
- array
|
|
|
- (
|
|
|
- 'name' => '直播',
|
|
|
- 'key' => 'video/lib/core.live',
|
|
|
- ),
|
|
|
-
|
|
|
- array
|
|
|
- (
|
|
|
- 'name' => '小程序',
|
|
|
- 'key' => 'content/lib/applet.update',
|
|
|
- 'type' => 'update',
|
|
|
- ),
|
|
|
- ),
|
|
|
- ),
|
|
|
),
|
|
|
|
|
|
'audit' => array
|