This commit is contained in:
make
2025-04-17 17:28:17 +08:00
parent 3212819051
commit 76010ff43b
29 changed files with 673 additions and 953 deletions

View File

@@ -557,22 +557,27 @@ class NovelModel extends MongoModel
}
/**
* 小说分类/书库
* Undocumented function
* 小说分类
* @param int $intNId
* @param string $intPinYin
*
* @param [type] $strGender
* @param [type] $strCategory
* @param [type] $strStatus
* @param [type] $strOrder
* @param [type] $intPage
* @return string
*
*/
static public function getNovelCategoryUrl($strGender, $strCategory, $strStatus, $intPage): string
static public function getNovelCategoryUrl($strGender, $strCategory, $strStatus, $strOrder,$intPage): string
{
$strKey = 'CATEGORY_INFO_URL';
$strUrl = DomainModel::getPageUrl($strKey, [
'strGender' => $strGender,
'strCategory' => $strCategory,
'strStatus' => $strStatus,
'intPage' => $intPage,
'strGender' => $strGender ?? '',
'strCategory' => $strCategory ?? '',
'strStatus' => $strStatus ?? '',
'strOrder' => $strOrder ?? '',
'intPage' => $intPage ?? 1,
]);
$strUrl = preg_replace('#/{2,}#', '/', $strUrl);
return (string)$strUrl;
}