This commit is contained in:
NULL
2025-08-18 20:28:41 +08:00
parent 2a417068cb
commit a4b58d8c03
2 changed files with 26 additions and 22 deletions

View File

@@ -318,6 +318,8 @@ class NovelService
*/
public function getNovelList(array $arrParams): array
{
$arrParams['key'] = '';
$intCount = (int)$arrParams['count'] ?? 10;
$strNCategory = $arrParams['n_category'] ?? '';
$strSortType = (string)$arrParams['sort_type'] ?? '';
@@ -414,6 +416,7 @@ class NovelService
*/
public function getNovelPager(array $arrParams): array
{
$arrParams['key'] = '';
$arrParams = [
'page' => max((int)($arrParams['page'] ?? 1), 1),
'limit' => (int)($arrParams['limit'] ?? 10),

View File

@@ -321,7 +321,7 @@ class VideoService
*/
public function getVideoList(array $arrParams): array
{
$arrParams['key'] = '';
$intCount = (int)$arrParams['count'] ?? 10;
// $strVCategory = $arrParams['v_category'] ?? '';
$strSortType = (string)$arrParams['sort_type'] ?? '';
@@ -449,6 +449,7 @@ class VideoService
*/
public function getVideoPager(array $arrParams): array
{
$arrParams['key'] = '';
$arrParams = [
'page' => max((int)($arrParams['page'] ?? 1), 1),
'limit' => (int)($arrParams['limit'] ?? 10),