debug
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user