常用方法
常用方法
常用方法
常用方法
/** * @param $nTopicId * * @return bool */ public function RecalcCountOfComments($nTopicId) { $bResult = $this->oMapper->RecalcCountOfComments($nTopicId); if ($bResult) { E::ModuleCache()->Delete("topic_{$nTopicId}"); E::ModuleCache()->CleanByTags(array('topic_update')); } return $bResult; }