Przeglądaj źródła

Merge branch 'stabble' of iqiyoo:zhuishuyun_wap

onlinetest 6 lat temu
rodzic
commit
e649baee2a
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      app/Modules/Book/Services/BookService.php

+ 1 - 1
app/Modules/Book/Services/BookService.php

@@ -88,7 +88,7 @@ class BookService
         if($old){
             return -1;
         }
-        $new_yunqi_book = DB::connection('new_yunqi')->table('books')->where('id',$bid)->fist();
+        $new_yunqi_book = DB::connection('new_yunqi')->table('books')->where('id',$bid)->first();
         if(!$new_yunqi_book){
             return -2;
         }