debug
This commit is contained in:
@@ -242,7 +242,7 @@ class NovelModel extends MongoModel
|
||||
): array {
|
||||
try {
|
||||
$arrFilter['n_have_chapter'] = 1;
|
||||
|
||||
|
||||
$arrResult = $this->checkCacheByKey($strKey);
|
||||
if ($arrResult !== NULL) {
|
||||
return $arrResult;
|
||||
@@ -252,9 +252,7 @@ class NovelModel extends MongoModel
|
||||
$arrOptions['skip'] = ($intPage - 1) * $intLimit;
|
||||
$arrOptions['limit'] = $intLimit;
|
||||
unset($arrOptions['typeMap']);
|
||||
|
||||
$Cursor = $this->getCol()->find($arrFilter, $arrOptions);
|
||||
|
||||
$intTotal = $this->getCol()->countDocuments($arrFilter);
|
||||
|
||||
$arrResult = iterator_to_array($Cursor);
|
||||
|
||||
Reference in New Issue
Block a user