dever 3 年之前
父节点
当前提交
50e97352b4
共有 3 个文件被更改,包括 20 次插入19 次删除
  1. 4 4
      app/collection/database/type.php
  2. 1 0
      app/content/database/audio_comment.php
  3. 15 15
      app/content/database/video_comment.php

+ 4 - 4
app/collection/database/type.php

@@ -102,12 +102,12 @@ return array
             '12, "四宫格图片","content/pic_grid",187,1,' . DEVER_TIME,
             '13, "多张四宫格","content/pic_grid-list",186,1,' . DEVER_TIME,
 
-            '20, "普通视频","content/video-getAll",179,1,' . DEVER_TIME,
+            '20, "单页视频","content/video-getAll",179,1,' . DEVER_TIME,
             '21, "短视频","content/video_short-getAll",177,1,' . DEVER_TIME,
-            '22, "留言视频","content/video_comment",178,1,' . DEVER_TIME,
+            '22, "顶部视频","content/video_comment",178,1,' . DEVER_TIME,
 
-            '30, "普通音频","content/audio-getAll",169,1,' . DEVER_TIME,
-            '31, "留言音频","content/audio_comment",168,1,' . DEVER_TIME,
+            '30, "单页音频","content/audio-getAll",169,1,' . DEVER_TIME,
+            '31, "顶部音频","content/audio_comment",168,1,' . DEVER_TIME,
 
             '40, "直播","content/live",159,1,' . DEVER_TIME,
 

+ 1 - 0
app/content/database/audio_comment.php

@@ -6,6 +6,7 @@ $type = array
 (
     1 => '座位模式',
     //2 => '弹幕',
+    3 => '内容模式',
 );
 
 return array

+ 15 - 15
app/content/database/video_comment.php

@@ -6,6 +6,7 @@ $type = array
 (
 	1 => '座位模式',
 	//2 => '弹幕',
+    3 => '内容模式',
 );
 
 return array
@@ -13,7 +14,7 @@ return array
 	# 表名
 	'name' => 'video_comment',
 	# 显示给用户看的名称
-	'lang' => '留言视频',
+	'lang' => '顶部视频',
 	'order' => 100,
 	'menu' => false,
 
@@ -127,19 +128,6 @@ return array
 			//'update'	=> 'textarea',
 		),
 
-		
-        'pic'		=> array
-		(
-			'type' 		=> 'varchar-150',
-			'name' 		=> '封面图-图片尺寸750*422px或等比尺寸,上传大小不能超过2M,支持JPG、PNG、GIF格式,建议上传JPG格式',
-			'default' 	=> '',
-			'desc' 		=> '封面图',
-			'match' 	=> 'option',
-			'update'	=> 'image',
-			'key' 		=> '1',
-			'place'		=> '750*422',
-		),
-
         'video'     => array
         (
             'type'      => 'varchar-800',
@@ -147,11 +135,23 @@ return array
             'default'   => '',
             'desc'      => '上传点播视频',
             'match'     => 'is_string',
-            'update'    => 'upload',
+            'update'    => 'video',
             'key'       => '5',
             'place'     => '150',
             'upload'    => 'yun',
             'large'     => true,
+            'cover'     => 'pic',//封面图字段名
+        ),
+
+        'pic'       => array
+        (
+            'type'      => 'varchar-150',
+            'name'      => '封面图-封面图自动生成,也可以更改,上传大小不能超过2M,支持JPG、PNG、GIF格式,建议上传JPG格式',
+            'default'   => '',
+            'desc'      => '封面图',
+            'match'     => 'option',
+            'update'    => 'image',
+            'key'       => '1',
         ),
 
         'video_info'        => array