dever 6 năm trước cách đây
mục cha
commit
bc0b511279
1 tập tin đã thay đổi với 5 bổ sung0 xóa
  1. 5 0
      journal/lib/Manage.php

+ 5 - 0
journal/lib/Manage.php

@@ -150,6 +150,11 @@ class Manage
                     $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) {
                     # 图文
                     $info = Dever::load('content/lib/article')->get($v['article_id']);