dever 3 年之前
父节点
当前提交
48206117a8

+ 4 - 0
app/collection/src/Pic.php

@@ -8,11 +8,13 @@ class Pic
 {
     public function com()
     {
+        /*
         $file = 'https://7.shemic.com/1/2020/12/16/156005c5baf40ff51a327f1c34f2975b.jpg';
         $data = Dever::load('upload/view')->get($file, 'c', 1);
         $dest = $data . '&time=' . time();
 
         echo '<img src="'.$dest.'">';die;
+        */
         //文件名
         $filename = 'test';
         //模板key
@@ -20,7 +22,9 @@ class Pic
         //模块数据包:数组key值为模块的key,数组value为文字或者图片
         $modelSet = array
         (
+            'pic' => 'http://dev.shemic.com/dreamland/data/upload/1/2020/08/14/7c2ad2ea3cd3c8b90a56b5c12366c488.jpg',
             'name' => '放得开附近的放开就',
+            'price' => '¥100',
         );
         //默认值为2,如果值为1,则每次都重新生成图片,否则只生成一次
         $update = 1;

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

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

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

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

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

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