debug-log

This commit is contained in:
make
2025-05-19 12:52:29 +08:00
parent 3a0dab30f6
commit bedba6296e
3 changed files with 21 additions and 3 deletions

View File

@@ -101,7 +101,13 @@ class ChapterModel extends MongoModel
return $arrResult; return $arrResult;
} catch (\Exception $e) { } catch (\Exception $e) {
return []; return [
'data' => [],
'total' => 0,
'page' => $intPage,
'limit' => $intLimit,
'pages' => 0
];
} }
} }

View File

@@ -271,7 +271,13 @@ class NovelModel extends MongoModel
return $arrResult; return $arrResult;
} catch (\Exception $e) { } catch (\Exception $e) {
return []; return [
'data' => [],
'total' => 0,
'page' => $intPage,
'limit' => $intLimit,
'pages' => 0
];
} }
} }

View File

@@ -265,7 +265,13 @@ class VideoModel extends MongoModel
return $arrResult; return $arrResult;
} catch (\Exception $e) { } catch (\Exception $e) {
return []; return [
'data' => [],
'total' => 0,
'page' => $intPage,
'limit' => $intLimit,
'pages' => 0
];
} }
} }