This commit is contained in:
make
2025-04-19 18:49:02 +08:00
parent 5bc9ecf9c8
commit 34f56d46d4
18 changed files with 285 additions and 155 deletions

View File

@@ -109,13 +109,14 @@ class ChapterService
/**
* 获取小说分页数据
* 获取小说章节分页数据
*
* @param array $arrParams
* @return array
*/
public function getNovelPager(array $arrParams): array
{
$arrParams = [
'page' => max((int)($arrParams['page'] ?? 1), 1),
'limit' => (int)($arrParams['limit'] ?? 10),