Commit 61ec3ad4 by Phạm Văn Đoan

lưu thêm log

parent 8e98b81a
......@@ -104,12 +104,23 @@ class CalculateReportCommand extends Command
foreach ($daily_data_all as $key => $daily) {
$daily_report[$key]['track_id'] = $daily['track_id'];
$daily_report[$key]['alltime_zing'] = $daily['alltime_zing'];
$daily_report[$key]['alltime_nct'] = $daily['alltime_nct'];
$daily_report[$key]['alltime_nhacvn'] = 0;
$daily_report[$key]['alltime_keeng'] = $daily['alltime_keeng'];
$daily_report[$key]['zing_count'] = $daily['date_zing'];
$daily_report[$key]['nct_count'] =$daily['date_nct'];
$daily_report[$key]['nhacvn_count'] = 0;
$daily_report[$key]['keeng_count'] = $daily['date_keeng'];
$daily_report[$key]['total_listen'] = $daily['total_listen'];
$daily_report[$key]['point_zing'] = $daily['point_zing'];
$daily_report[$key]['point_nct'] = $daily['point_nct'];
$daily_report[$key]['point_nhacvn'] = 0;
$daily_report[$key]['point_keeng'] = $daily['point_keeng'];
$daily_report[$key]['total_point'] = $daily['total_point'];
$daily_report[$key]['created_at'] = Carbon::now();
$daily_report[$key]['updated_at'] = Carbon::now();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment