|
@@ -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{
|