This commit is contained in:
make
2025-04-30 13:24:55 +08:00
parent bb47bd8865
commit bbac5b5cdb
11 changed files with 211 additions and 30 deletions

View File

@@ -157,10 +157,10 @@ class SiteContext
* 变量转换
*
* @param string $strCode
* @param string $strDiff
* @param string|null $strDiff
* @return string
*/
public function converterTemplate(string $strCode, string $strDiff = "0"): string
public function converterTemplate(string $strCode, string | Null $strDiff = "0"): string
{
$strTitleTemplate = $this->DomainModel->getFomartSubject($strCode, $strDiff);