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'; }