瀏覽代碼

activity and you2

zz 6 年之前
父節點
當前提交
dbc4f43a14
共有 1 個文件被更改,包括 1 次插入1 次删除
  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)
                 ->where('created_at','>=',$item->updated_at)
                 ->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){
                 $book_name = $books->book_name;
             }else{