@@ -381,7 +381,7 @@ class UserController extends BaseController
$value['update_count'] = DB::table('book_updates')
->where('bid',$val->bid)->where('update_type','add_chapter')
->where('created_at','>=',date('Y-m-d H:i:s',$value['time']))
- ->count();
+ ->sum('update_chapter_count');
}
break;