Browse Source

fix 最近阅读记录非外部上架图书不展示问题

songdb 4 years ago
parent
commit
36e63efc43
1 changed files with 2 additions and 2 deletions
  1. 2 2
      app/Modules/Book/Services/BookConfigService.php

+ 2 - 2
app/Modules/Book/Services/BookConfigService.php

@@ -48,9 +48,9 @@ class BookConfigService
             return (object)array();
         }
         if ($order)
-            $res = BookConfig::getBooksByIds($where, $order,$is_external_shelf);
+            $res = BookConfig::getBooksByIds($where, [],$order,$is_external_shelf);
         else
-            $res = BookConfig::getBooksByIds($where,$is_external_shelf);
+            $res = BookConfig::getBooksByIds($where,[],$is_external_shelf);
         return $res;
     }