From 77b68bae25fcf140241329c699acf72e2fb9f823 Mon Sep 17 00:00:00 2001 From: make Date: Mon, 28 Apr 2025 10:25:24 +0800 Subject: [PATCH] debug --- code/app/services/NovelService.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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, [