debug-log
This commit is contained in:
@@ -101,7 +101,13 @@ class ChapterModel extends MongoModel
|
||||
|
||||
return $arrResult;
|
||||
} catch (\Exception $e) {
|
||||
return [];
|
||||
return [
|
||||
'data' => [],
|
||||
'total' => 0,
|
||||
'page' => $intPage,
|
||||
'limit' => $intLimit,
|
||||
'pages' => 0
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -271,7 +271,13 @@ class NovelModel extends MongoModel
|
||||
|
||||
return $arrResult;
|
||||
} catch (\Exception $e) {
|
||||
return [];
|
||||
return [
|
||||
'data' => [],
|
||||
'total' => 0,
|
||||
'page' => $intPage,
|
||||
'limit' => $intLimit,
|
||||
'pages' => 0
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -265,7 +265,13 @@ class VideoModel extends MongoModel
|
||||
|
||||
return $arrResult;
|
||||
} catch (\Exception $e) {
|
||||
return [];
|
||||
return [
|
||||
'data' => [],
|
||||
'total' => 0,
|
||||
'page' => $intPage,
|
||||
'limit' => $intLimit,
|
||||
'pages' => 0
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user