no message
parent
9e2dab5a37
commit
adba9c676e
|
@ -17,7 +17,6 @@ class ArticleTree extends Controller
|
||||||
$titles = $docModel->AllTitle();
|
$titles = $docModel->AllTitle();
|
||||||
$doc_all = $docModel->getArticlesTree(-1);
|
$doc_all = $docModel->getArticlesTree(-1);
|
||||||
|
|
||||||
var_dump($doc_all);
|
|
||||||
$mapforbuildtree = [];
|
$mapforbuildtree = [];
|
||||||
$articletree = [];
|
$articletree = [];
|
||||||
|
|
||||||
|
@ -115,7 +114,6 @@ class ArticleTree extends Controller
|
||||||
}
|
}
|
||||||
$docModel = new Models\Doc();
|
$docModel = new Models\Doc();
|
||||||
$doc_all = $docModel->getArticlesTree((int)$this->params[0]);
|
$doc_all = $docModel->getArticlesTree((int)$this->params[0]);
|
||||||
var_dump($this->querys);
|
|
||||||
$doc_vers = $docModel->DocVersTime((int)$this->params[0]);
|
$doc_vers = $docModel->DocVersTime((int)$this->params[0]);
|
||||||
|
|
||||||
$firstpagedocs = [];
|
$firstpagedocs = [];
|
||||||
|
|
|
@ -98,7 +98,6 @@ class Doc extends Model
|
||||||
public function doc_history($doc_id){
|
public function doc_history($doc_id){
|
||||||
$result = [];
|
$result = [];
|
||||||
$db = static::getDB();
|
$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);
|
$stmt = $db->query('select * from doc_history where doc_history.doc_id = '.$doc_id);
|
||||||
$recv = $stmt->fetchAll();
|
$recv = $stmt->fetchAll();
|
||||||
return $recv;
|
return $recv;
|
||||||
|
|
Loading…
Reference in New Issue