From 2d26f9bccfa5201ccf769ca5f8000ded39d83c32 Mon Sep 17 00:00:00 2001 From: make Date: Sun, 25 May 2025 19:46:00 +0800 Subject: [PATCH] debug --- code/app/home/view/haoZi/basePc.html | 1 - code/app/services/SiteContext.php | 13 +++++++++++-- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/code/app/home/view/haoZi/basePc.html b/code/app/home/view/haoZi/basePc.html index d39ec12..ac0fbbd 100644 --- a/code/app/home/view/haoZi/basePc.html +++ b/code/app/home/view/haoZi/basePc.html @@ -44,7 +44,6 @@ {/if} -
  • 首页
  • 总排行
  • 总推荐
  • diff --git a/code/app/services/SiteContext.php b/code/app/services/SiteContext.php index 6ab70d4..13b39c2 100644 --- a/code/app/services/SiteContext.php +++ b/code/app/services/SiteContext.php @@ -229,13 +229,22 @@ class SiteContext { if ($strPlatform == 'h5') { if ($this->DomainModel->info_id > 0) { - $strView = 'novel/getNovelInfo.html'; + if(config('app.default_app_type') == 'video'){ + $strView = 'video/getVideoInfo.html'; + }else{ + $strView = 'novel/getNovelInfo.html'; + } + } else { $strView = 'index/index.html'; } } else { if ($this->DomainModel->info_id > 0) { - $strView = 'pc/getNovelInfo.html'; + if(config('app.default_app_type') == 'video'){ + $strView = 'pc/getVideoInfo.html'; + }else{ + $strView = 'pc/getNovelInfo.html'; + } } else { $strView = 'pc/index.html'; }