Explorar o código

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

songdb %!s(int64=4) %!d(string=hai) anos
pai
achega
36e63efc43
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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;
     }