This commit is contained in:
Default
2025-04-18 16:19:54 +08:00
parent 3e4ec4b1cb
commit cf9ad1f065
4 changed files with 37 additions and 8 deletions

View File

@@ -125,4 +125,19 @@ class SiteContext
return GanRaoMaModel::getGrmCode($strDomain, $strPageCode, $strDiff, $intNum);
}
/**
* get home view
*
* @return string
*/
public function getHomeView(): string
{
if ($this->DomainModel->n_id > 0) {
$strView = 'test/test01/faker.html';
} else {
$strView = 'test/test01/index.html';
}
return $strView;
}
}