dever 6 years ago
parent
commit
bc0b511279
1 changed files with 5 additions and 0 deletions
  1. 5 0
      journal/lib/Manage.php

+ 5 - 0
journal/lib/Manage.php

@@ -150,6 +150,11 @@ class Manage
                     $data[$k]['pic'] = $v['focus'];
                     $data[$k]['pic'] = $v['focus'];
                 }
                 }
 
 
+                if ($v['type'] == 4 || $v['type'] == 5 || $v['type'] == 6) {
+                    $data[$k]['name'] = '';
+                    $data[$k]['pic'] = $v['cover'];
+                }
+
                 if ($v['type'] == 11) {
                 if ($v['type'] == 11) {
                     # 图文
                     # 图文
                     $info = Dever::load('content/lib/article')->get($v['article_id']);
                     $info = Dever::load('content/lib/article')->get($v['article_id']);