摘要:要实现的效果都是在同级目录下的文件,需要服务器环境布局黑体
要实现的效果
都是在同级目录下的文件,需要服务器环境
布局
Document
JS脚本
PHP数据:
array ( 0 => array ( "signal" => "-", "path" => "/var/www/html/goms-kmg-v4/application/pc/logs/index.html", "file" => "index.html", "sub_file" => array ( ), ), 1 => array ( "signal" => "-", "path" => "/var/www/html/goms-kmg-v4/application/pc/logs/log-2016-11-15.log", "file" => "log-2016-11-15.log", "sub_file" => array ( ), ), 2 => array ( "signal" => "-", "path" => "/var/www/html/goms-kmg-v4/application/pc/logs/log-2016-11-07.log", "file" => "log-2016-11-07.log", "sub_file" => array ( ), ), 3 => array ( "signal" => "-", "path" => "/var/www/html/goms-kmg-v4/application/pc/logs/log-2016-11-11.log", "file" => "log-2016-11-11.log", "sub_file" => array ( ), ), 4 => array ( "signal" => "-", "path" => "/var/www/html/goms-kmg-v4/application/pc/logs/log-2016-11-14.log", "file" => "log-2016-11-14.log", "sub_file" => array ( ), ), 5 => array ( "signal" => "-", "path" => "/var/www/html/goms-kmg-v4/application/pc/logs/out.log", "file" => "out.log", "sub_file" => array ( ), ), 6 => array ( "signal" => "d", "path" => "/var/www/html/goms-kmg-v4/application/pc/logs/flight_dynamic_update", "file" => "flight_dynamic_update", "sub_file" => array ( 0 => array ( "signal" => "d", "path" => "/var/www/html/goms-kmg-v4/application/pc/logs/flight_dynamic_update/2016-10-17", "file" => "2016-10-17", "sub_file" => array ( 0 => array ( "signal" => "-", "path" => "/var/www/html/goms-kmg-v4/application/pc/logs/flight_dynamic_update/2016-10-17/flight_add_sql.log", "file" => "flight_add_sql.log", "sub_file" => array ( ), ), ), ), ), ), 7 => array ( "signal" => "-", "path" => "/var/www/html/goms-kmg-v4/application/pc/logs/log-2016-11-13.log", "file" => "log-2016-11-13.log", "sub_file" => array ( ), ), 8 => array ( "signal" => "-", "path" => "/var/www/html/goms-kmg-v4/application/pc/logs/log-2016-11-08.log", "file" => "log-2016-11-08.log", "sub_file" => array ( ), ), 9 => array ( "signal" => "-", "path" => "/var/www/html/goms-kmg-v4/application/pc/logs/log-2016-11-04.log", "file" => "log-2016-11-04.log", "sub_file" => array ( ), ), 10 => array ( "signal" => "-", "path" => "/var/www/html/goms-kmg-v4/application/pc/logs/555.log", "file" => "555.log", "sub_file" => array ( ), ), 11 => array ( "signal" => "-", "path" => "/var/www/html/goms-kmg-v4/application/pc/logs/pm.log", "file" => "pm.log", "sub_file" => array ( ), ), 12 => array ( "signal" => "-", "path" => "/var/www/html/goms-kmg-v4/application/pc/logs/log-2016-11-09.log", "file" => "log-2016-11-09.log", "sub_file" => array ( ), ), 13 => array ( "signal" => "-", "path" => "/var/www/html/goms-kmg-v4/application/pc/logs/log-2016-11-10.log", "file" => "log-2016-11-10.log", "sub_file" => array ( ), ), 14 => array ( "signal" => "-", "path" => "/var/www/html/goms-kmg-v4/application/pc/logs/in.log", "file" => "in.log", "sub_file" => array ( ), ), ), ); echo json_encode($data);
文采不好,就不在这里详细介绍了,但是代码是全给了,想测试的话,直接把代码考过去就行了。。。
文章版权归作者所有,未经允许请勿转载,若此文章存在违规行为,您可以联系管理员删除。
转载请注明本文地址:https://www.ucloud.cn/yun/80915.html
摘要:二叉查找树是一种查找效率非常高的数据结构,它有三个特点。二叉查找树的结构不适合数据库,因为它的查找效率与层数相关。树是对二叉查找树的改进。备份机制保存数据库的副本。 转载自:阮一峰的网络日志 所有应用软件之中,数据库可能是最复杂的。 MySQL的手册有3000多页,PostgreSQL的手册有2000多页,Oracle的手册更是比它们相加还要厚。 但是,自己写一个最简单...
摘要:转载史上最简单的平衡树无旋作者博客地址使用此文件时请保留上述信息谢谢合作觉得文章不错请点击链接为博客点赞高能预警所有示例代码都是数组版的欢迎前置知识线段树请确保你完全理解最基础的线段树和区间加法和区间求和一简介无旋又称是范浩强大佬发明的一种 【转载】史上最简单的平衡树——无旋Treap 作者:fzszkl 博客地址:https://ac.nowcoder.com/discu... ...
摘要:不同于其它静态编程语言,实现组合模式的难点是保持树对象与叶对象之间接口保持统一,可借助定制接口规范,实现类型约束。误区规避组合不是继承,树叶对象并不是父子对象组合模式的树型结构是一种聚合的关系,而不是。 showImg(https://segmentfault.com/img/bVbu79V?w=800&h=600); 组合模式:又叫 部分整体 模式,将对象组合成树形结构,以表示 部分...
摘要:在树中,每个节点表示一个状态,每条边表示一个字符,从根节点到叶子节点经过的边即表示一个词条。查找一个词条最多耗费的时间只受词条长度影响,因此的查找性能是很高的,跟哈希算法的性能相当。 Last-Modified: 2019年5月10日15:25:35 参考文章 c++ 使用map实现Trie树 关键词过滤扩展,用于检查一段文本中是否出现敏感词,基于Double-Array Trie...
摘要:图是构成网页的超文本标记语言中的标签相互关联关系所构成的树。节点节点是树的基本构成部分。子树子树是一个父节点的某个子节点的所有边和后代节点所构成的集合。高度树的高度等于所有节点的层数的最大值。每个子树的根节点和其父树的根节点之间通过边相连。 树的例子 我们已经学过了像栈和队列这样的线性数据结构,同时我们对递归也有了一定的了解,现在让我们来看看另一种常见的数据结构——树(Tree)。树在...
阅读 4639·2021-11-18 13:23
阅读 874·2021-09-22 15:24
阅读 1901·2021-09-06 15:00
阅读 2597·2021-09-03 10:30
阅读 1257·2021-09-02 15:15
阅读 2032·2019-08-30 15:54
阅读 2999·2019-08-30 15:44
阅读 1427·2019-08-29 15:12