소스 검색

接口微调

lizhen_gitee 8 달 전
부모
커밋
90b699c244
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  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;