完成分类和文章的模板设置

This commit is contained in:
2020-04-18 23:14:43 +08:00
parent d35febf9f6
commit 1ec8c07250
18 changed files with 285 additions and 30 deletions

View File

@@ -5,7 +5,7 @@ namespace app\index\controller;
use think\facade\View;
use think\Request;
class Index
class Index extends BaseController
{
/**
* 显示资源列表
@@ -15,7 +15,10 @@ class Index
public function index()
{
//
return View::fetch();
dump($this->request->action());
return $this->fetch('');
}
/**