开始文档

This commit is contained in:
augushong
2020-04-22 14:26:12 +08:00
parent 07006ecb4e
commit 6c54f704ab
7 changed files with 115 additions and 2 deletions

View File

@@ -3,6 +3,7 @@
namespace app\index\controller;
use app\model\Category;
use app\model\Nav;
use app\model\Post;
use app\model\PostCategory;
use think\Request;
@@ -21,6 +22,13 @@ class Index extends Common
return $this->fetch();
}
public function __documentsIndex()
{
$list_index_documents_nav = Nav::where('type',9)->select();
$this->assign('list_index_documents_nav',$list_index_documents_nav);
}
public function __articlesIndex()
{