diff --git a/code/app/services/NovelService.php b/code/app/services/NovelService.php index a7c47e2..bd6fbb7 100644 --- a/code/app/services/NovelService.php +++ b/code/app/services/NovelService.php @@ -185,10 +185,10 @@ class NovelService * @param integer $intNId * @param string $strPinYin * @param string $strOrder - * @param integer $intPage + * @param integer|string $intPage * @return string */ - public function getNovelCatalogUrl(int $intNId, string $strPinYin, string $strOrder, int $intPage = 1): string + public function getNovelCatalogUrl(int $intNId, string $strPinYin, string $strOrder, int|string $intPage = 1): string { $strKey = 'NOVEL_CATALOG_URL'; $strUrl = $this->SiteContext->DomainModel->getFomartUrl($strKey, [ @@ -205,10 +205,10 @@ class NovelService * Undocumented function * * @param string $strKeyWords - * @param integer $intPage + * @param integer|string $intPage * @return string */ - public function getNovelSearchUrl(string $strKeyWords, int $intPage = 1): string + public function getNovelSearchUrl(string $strKeyWords, int|string $intPage = 1): string { $strKey = 'SEARCH_INFO_URL'; $strUrl = $this->SiteContext->DomainModel->getFomartUrl($strKey, [