lizhen_gitee 8 miesięcy temu
rodzic
commit
90b699c244
1 zmienionych plików z 2 dodań i 1 usunięć
  1. 2 1
      application/api/controller/Jishuguifan.php

+ 2 - 1
application/api/controller/Jishuguifan.php

@@ -42,7 +42,7 @@ class Jishuguifan extends Api
 
         $tree = Tree::instance();
         $tree->init($list, 'pid');
-        $tree->icon = ['nbsp','nbsp','nbsp'];
+        $tree->icon = ['','',''];
 //        $tree->icon = ['','',''];
         $tree->nbsp = 'nbsp';
         $treedata = $tree->getTreeList($tree->getTreeArray($tid), 'name');
@@ -61,6 +61,7 @@ class Jishuguifan extends Api
         $info = Db::name('jishuguifan')
             ->where('id',$id)
             ->find();
+        $info = info_domain_image($info,['file']);
 
         //上一篇
         $up_id = 0;