This commit is contained in:
Default
2025-04-10 17:13:54 +08:00
parent 4d60f87c45
commit 12094ae225
2 changed files with 5 additions and 5 deletions

View File

@@ -127,7 +127,6 @@ class ConfigSubjectFomartModel extends MongoModel
$arrNovel = $this->getOne($arrFilter, $arrOptions);
return $arrNovel;
}
@@ -137,9 +136,9 @@ class ConfigSubjectFomartModel extends MongoModel
* @param integer $intNId
* @return array
*/
public function getConfigSubjectFomartByCfsKey(string $intNId): null|array
public function getConfigSubjectFomartByCsfKey(string $intNId): null|array
{
$arrFilter = ['cfs_key' => $intNId];
$arrFilter = ['csf_key' => $intNId];
return $this->findOne($arrFilter);
}

View File

@@ -111,7 +111,8 @@ class DomainModel extends BaseModel
$strUUId = sprintf('%s-%s-%s-%s-%s', $strDomain, $strController, $strAction, $strKey, $strDiff);
$arrConfigSubjectFomart = ConfigSubjectFomartModel::getInstance()->getConfigSubjectFomartByCfsKey($strUUId);
$arrConfigSubjectFomart = ConfigSubjectFomartModel::getInstance()->getConfigSubjectFomartByCsfKey($strUUId);
if (empty($arrConfigSubjectFomart)) {
@@ -120,7 +121,7 @@ class DomainModel extends BaseModel
$SubjectFomartModel = $arrAllSubjectFomartModel[$intKey];
ConfigSubjectFomartModel::getInstance()->insert([
'cfs_key' => $strUUId,
'csf_key' => $strUUId,
'sf_id' => $SubjectFomartModel->sf_id,
]);
} else {