This commit is contained in:
make
2025-05-13 17:24:33 +08:00
parent 9ad455786e
commit b8dba786ca
5 changed files with 105 additions and 1 deletions

View File

@@ -101,6 +101,12 @@ class DomainModel extends BaseModel
*/
public function getFomartSubjectEx(string $strKey, string $strDomain, string $strController, string $strAction, $strDiff = '', bool $boolJoin = true): string
{
if ( !array_key_exists($strKey, $this->t_cfg)) {
$strError = sprintf("t_cfg [%s] not found!", $strKey . $strDomain);
throw new \Exception($strError);
}
$intSfgId = $this->t_cfg[$strKey]['sfg_id'];
$SubjectFomartModel = NULL;