debug-log
This commit is contained in:
@@ -296,9 +296,10 @@ class ChapterService
|
||||
$intButtonNum = $arrParams['button_num'];
|
||||
$intPage = $arrChapter['page'] ?? 1;
|
||||
$intLimit = $arrChapter['limit'] ?? 10 ;
|
||||
$intTotal = $arrChapter['total'] ?? 0;
|
||||
|
||||
$strBaseUrl = app(NovelService::class)->getNovelCatalogUrl($arrParams['n_id'], $arrNovel['n_name_pinyin'], $arrParams['sort_type'], '{page}');
|
||||
$arrPaginator = CusteomPage02::generate($intPage, $arrChapter['total'], $intLimit, $strBaseUrl, $intButtonNum);
|
||||
$arrPaginator = CusteomPage02::generate($intPage, $intTotal, $intLimit, $strBaseUrl, $intButtonNum);
|
||||
|
||||
return $arrPaginator;
|
||||
}
|
||||
|
||||
@@ -595,9 +595,10 @@ class NovelService
|
||||
$strKey = $arrParams['key'];
|
||||
$intPage = $arrNovel['page'] ?? 1;
|
||||
$intLimit = $arrNovel['limit'] ?? 10;
|
||||
$intTotal = $arrNovel['total'] ?? 0;
|
||||
$intButtomNum = $arrParams['button_num'];
|
||||
$strBaseUrl = app(NovelService::class)->getNovelSearchUrl($strKey, '{page}');
|
||||
$arrPaginator = CusteomPage02::generate($intPage, $arrNovel['total'], $intLimit, $strBaseUrl, $intButtomNum);
|
||||
$arrPaginator = CusteomPage02::generate($intPage, $intTotal, $intLimit, $strBaseUrl, $intButtomNum);
|
||||
|
||||
return $arrPaginator;
|
||||
}
|
||||
|
||||
@@ -636,9 +636,10 @@ class VideoService
|
||||
$strKey = $arrParams['key'];
|
||||
$intPage = $arrVideo['page'] ?? 1;
|
||||
$intLimit = $arrVideo['limit'] ?? 10;
|
||||
$intTotal = $arrVideo['total'] ?? 0;
|
||||
$intButtomNum = $arrParams['button_num'];
|
||||
$strBaseUrl = app(VideoService::class)->getVideoSearchUrl($strKey, '{page}');
|
||||
$arrPaginator = CusteomPage02::generate($intPage, $arrVideo['total'], $intLimit, $strBaseUrl, $intButtomNum);
|
||||
$arrPaginator = CusteomPage02::generate($intPage, $intTotal, $intLimit, $strBaseUrl, $intButtomNum);
|
||||
|
||||
return $arrPaginator;
|
||||
}
|
||||
@@ -664,9 +665,10 @@ class VideoService
|
||||
|
||||
$intPage = $arrVideo['page'] ?? 1;
|
||||
$intLimit = $arrVideo['limit'] ?? 10;
|
||||
$intTotal = $arrVideo['total'] ?? 0;
|
||||
$intButtomNum = $arrParams['button_num'];
|
||||
$strBaseUrl = app(VideoService::class)->getVideoCategoryUrl($strCategory, $strParentCategory, $strArea, $strLang, $strYear, $strOrder, '{page}');
|
||||
$arrPaginator = CusteomPage02::generate($intPage, $arrVideo['total'], $intLimit, $strBaseUrl, $intButtomNum);
|
||||
$arrPaginator = CusteomPage02::generate($intPage, $intTotal, $intLimit, $strBaseUrl, $intButtomNum);
|
||||
|
||||
return $arrPaginator;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user