浏览代码

接口微调

lizhen_gitee 8 月之前
父节点
当前提交
ad1cceb193
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      application/api/controller/Jishuguifan.php

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

@@ -42,9 +42,9 @@ class Jishuguifan extends Api
 
         $tree = Tree::instance();
         $tree->init($list, 'pid');
-        $tree->icon = ['a','a','a'];
+        $tree->icon = ['nbsp','nbsp','nbsp'];
 //        $tree->icon = ['','',''];
-        $tree->nbsp = 'a';
+        $tree->nbsp = 'nbsp';
         $treedata = $tree->getTreeList($tree->getTreeArray($tid), 'name');
 
         /*$result = [];