From adba9c676e4596509fb7c4f1f53b3024613ebc0d Mon Sep 17 00:00:00 2001 From: zcy <290198252@qq.com> Date: Sun, 25 Dec 2022 20:49:45 +0800 Subject: [PATCH] no message --- App/Controllers/ArticleTree.php | 2 -- App/Models/Doc.php | 1 - 2 files changed, 3 deletions(-) diff --git a/App/Controllers/ArticleTree.php b/App/Controllers/ArticleTree.php index dc7c75b..9feca21 100644 --- a/App/Controllers/ArticleTree.php +++ b/App/Controllers/ArticleTree.php @@ -17,7 +17,6 @@ class ArticleTree extends Controller $titles = $docModel->AllTitle(); $doc_all = $docModel->getArticlesTree(-1); - var_dump($doc_all); $mapforbuildtree = []; $articletree = []; @@ -115,7 +114,6 @@ class ArticleTree extends Controller } $docModel = new Models\Doc(); $doc_all = $docModel->getArticlesTree((int)$this->params[0]); - var_dump($this->querys); $doc_vers = $docModel->DocVersTime((int)$this->params[0]); $firstpagedocs = []; diff --git a/App/Models/Doc.php b/App/Models/Doc.php index 31314cb..1aab177 100644 --- a/App/Models/Doc.php +++ b/App/Models/Doc.php @@ -98,7 +98,6 @@ class Doc extends Model public function doc_history($doc_id){ $result = []; $db = static::getDB(); - print_r('select * from doc_history where doc_history.doc_id = '.$doc_id); $stmt = $db->query('select * from doc_history where doc_history.doc_id = '.$doc_id); $recv = $stmt->fetchAll(); return $recv;