Explorar o código

activity and you2

zz %!s(int64=6) %!d(string=hai) anos
pai
achega
dbc4f43a14
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/Console/Commands/BookTest.php

+ 1 - 1
app/Console/Commands/BookTest.php

@@ -343,7 +343,7 @@ class BookTest extends Command
             $all_fee = $chapter_model->where('uid', $item->uid)
             $all_fee = $chapter_model->where('uid', $item->uid)
                 ->where('created_at','>=',$item->updated_at)
                 ->where('created_at','>=',$item->updated_at)
                 ->sum('fee');
                 ->sum('fee');
-            $books = DB::table('book_configs')->where('bid',$val['bid'])->select('book_name')->first();
+            $books = DB::table('book_configs')->where('bid',$item->bid)->select('book_name')->first();
             if($books){
             if($books){
                 $book_name = $books->book_name;
                 $book_name = $books->book_name;
             }else{
             }else{