Merge branch 'dev' of ssh://git.bgbg.live:18150/root/SEONexus into dev

This commit is contained in:
make
2025-08-18 21:15:40 +08:00
3 changed files with 31 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),

View File

@@ -59,5 +59,10 @@ return [
'key' => ['n_have_chapter' => 1, 'n_forge_novel' => 1],
'options' => ['unique' => false]
],
[
'key' => ['n_forge_novel' => 1],
'options' => ['unique' => false]
],
]
];