zz vor 6 Jahren
Ursprung
Commit
6948fa0560
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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){
         if($old){
             return -1;
             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){
         if(!$new_yunqi_book){
             return -2;
             return -2;
         }
         }