添加新模板

This commit is contained in:
make
2025-12-02 13:16:21 +08:00
parent 66e0cc355a
commit 10d6acd627
41 changed files with 3163 additions and 2 deletions

View File

@@ -11,6 +11,7 @@ use app\model\CategoryModel;
use app\model\ChapterModel;
use app\model\NovelClicksModel;
use app\model\NovelModel;
use app\common\helper\SiteStyle;
use think\facade\Request;
use think\facade\Config;
use think\exception\HttpException;
@@ -161,7 +162,9 @@ class SiteContext
// View::assign("strVideoHistoryUrlTemp", $strVideoHistoryUrlTemp);
$TpStyle = SiteStyle::getConfig();
View::assign('TpStyle', $TpStyle);
View::assign('Request', $this->Request);
View::assign('DomainModel', $this->DomainModel);
View::assign('TemplatesModel', $this->TemplatesModel);