成人国产在线小视频_日韩寡妇人妻调教在线播放_色成人www永久在线观看_2018国产精品久久_亚洲欧美高清在线30p_亚洲少妇综合一区_黄色在线播放国产_亚洲另类技巧小说校园_国产主播xx日韩_a级毛片在线免费

資訊專欄INFORMATION COLUMN

簡(jiǎn)單的文件樹(shù)

Loong_T / 2758人閱讀

摘要:要實(shí)現(xiàn)的效果都是在同級(jí)目錄下的文件,需要服務(wù)器環(huán)境布局黑體

要實(shí)現(xiàn)的效果

都是在同級(jí)目錄下的文件,需要服務(wù)器環(huán)境

布局




    
    Document
    


    
    

JS腳本

PHP數(shù)據(jù):

 
  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);

文采不好,就不在這里詳細(xì)介紹了,但是代碼是全給了,想測(cè)試的話,直接把代碼考過(guò)去就行了。。。

文章版權(quán)歸作者所有,未經(jīng)允許請(qǐng)勿轉(zhuǎn)載,若此文章存在違規(guī)行為,您可以聯(lián)系管理員刪除。

轉(zhuǎn)載請(qǐng)注明本文地址:http://systransis.cn/yun/22061.html

相關(guān)文章

  • 數(shù)據(jù)庫(kù)簡(jiǎn)單實(shí)現(xiàn)

    摘要:二叉查找樹(shù)是一種查找效率非常高的數(shù)據(jù)結(jié)構(gòu),它有三個(gè)特點(diǎn)。二叉查找樹(shù)的結(jié)構(gòu)不適合數(shù)據(jù)庫(kù),因?yàn)樗牟檎倚逝c層數(shù)相關(guān)。樹(shù)是對(duì)二叉查找樹(shù)的改進(jìn)。備份機(jī)制保存數(shù)據(jù)庫(kù)的副本。 轉(zhuǎn)載自:阮一峰的網(wǎng)絡(luò)日志 所有應(yīng)用軟件之中,數(shù)據(jù)庫(kù)可能是最復(fù)雜的。 MySQL的手冊(cè)有3000多頁(yè),PostgreSQL的手冊(cè)有2000多頁(yè),Oracle的手冊(cè)更是比它們相加還要厚。 但是,自己寫(xiě)一個(gè)最簡(jiǎn)單...

    legendaryedu 評(píng)論0 收藏0
  • 【轉(zhuǎn)載】史上最簡(jiǎn)單平衡樹(shù)——無(wú)旋Treap

    摘要:轉(zhuǎn)載史上最簡(jiǎn)單的平衡樹(shù)無(wú)旋作者博客地址使用此文件時(shí)請(qǐng)保留上述信息謝謝合作覺(jué)得文章不錯(cuò)請(qǐng)點(diǎn)擊鏈接為博客點(diǎn)贊高能預(yù)警所有示例代碼都是數(shù)組版的歡迎前置知識(shí)線段樹(shù)請(qǐng)確保你完全理解最基礎(chǔ)的線段樹(shù)和區(qū)間加法和區(qū)間求和一簡(jiǎn)介無(wú)旋又稱是范浩強(qiáng)大佬發(fā)明的一種 【轉(zhuǎn)載】史上最簡(jiǎn)單的平衡樹(shù)——無(wú)旋Treap 作者:fzszkl 博客地址:https://ac.nowcoder.com/discu... ...

    崔曉明 評(píng)論0 收藏0
  • JavaScript設(shè)計(jì)模式(八):組合模式

    摘要:不同于其它靜態(tài)編程語(yǔ)言,實(shí)現(xiàn)組合模式的難點(diǎn)是保持樹(shù)對(duì)象與葉對(duì)象之間接口保持統(tǒng)一,可借助定制接口規(guī)范,實(shí)現(xiàn)類型約束。誤區(qū)規(guī)避組合不是繼承,樹(shù)葉對(duì)象并不是父子對(duì)象組合模式的樹(shù)型結(jié)構(gòu)是一種聚合的關(guān)系,而不是。 showImg(https://segmentfault.com/img/bVbu79V?w=800&h=600); 組合模式:又叫 部分整體 模式,將對(duì)象組合成樹(shù)形結(jié)構(gòu),以表示 部分...

    leon 評(píng)論0 收藏0
  • Trie樹(shù) php 實(shí)現(xiàn)敏感詞過(guò)濾

    摘要:在樹(shù)中,每個(gè)節(jié)點(diǎn)表示一個(gè)狀態(tài),每條邊表示一個(gè)字符,從根節(jié)點(diǎn)到葉子節(jié)點(diǎn)經(jīng)過(guò)的邊即表示一個(gè)詞條。查找一個(gè)詞條最多耗費(fèi)的時(shí)間只受詞條長(zhǎng)度影響,因此的查找性能是很高的,跟哈希算法的性能相當(dāng)。 Last-Modified: 2019年5月10日15:25:35 參考文章 c++ 使用map實(shí)現(xiàn)Trie樹(shù) 關(guān)鍵詞過(guò)濾擴(kuò)展,用于檢查一段文本中是否出現(xiàn)敏感詞,基于Double-Array Trie...

    王笑朝 評(píng)論0 收藏0
  • Python數(shù)據(jù)結(jié)構(gòu)——樹(shù)基本概念

    摘要:圖是構(gòu)成網(wǎng)頁(yè)的超文本標(biāo)記語(yǔ)言中的標(biāo)簽相互關(guān)聯(lián)關(guān)系所構(gòu)成的樹(shù)。節(jié)點(diǎn)節(jié)點(diǎn)是樹(shù)的基本構(gòu)成部分。子樹(shù)子樹(shù)是一個(gè)父節(jié)點(diǎn)的某個(gè)子節(jié)點(diǎn)的所有邊和后代節(jié)點(diǎn)所構(gòu)成的集合。高度樹(shù)的高度等于所有節(jié)點(diǎn)的層數(shù)的最大值。每個(gè)子樹(shù)的根節(jié)點(diǎn)和其父樹(shù)的根節(jié)點(diǎn)之間通過(guò)邊相連。 樹(shù)的例子 我們已經(jīng)學(xué)過(guò)了像棧和隊(duì)列這樣的線性數(shù)據(jù)結(jié)構(gòu),同時(shí)我們對(duì)遞歸也有了一定的了解,現(xiàn)在讓我們來(lái)看看另一種常見(jiàn)的數(shù)據(jù)結(jié)構(gòu)——樹(shù)(Tree)。樹(shù)在...

    wapeyang 評(píng)論0 收藏0

發(fā)表評(píng)論

0條評(píng)論

最新活動(dòng)
閱讀需要支付1元查看
<