Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
crawler.vmusicchart.vn
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Phạm Văn Đoan
crawler.vmusicchart.vn
Commits
61ec3ad4
Commit
61ec3ad4
authored
Apr 01, 2020
by
Phạm Văn Đoan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lưu thêm log
parent
8e98b81a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
CalculateReportCommand.php
app/Console/Commands/CalculateReportCommand.php
+11
-0
No files found.
app/Console/Commands/CalculateReportCommand.php
View file @
61ec3ad4
...
@@ -104,12 +104,23 @@ class CalculateReportCommand extends Command
...
@@ -104,12 +104,23 @@ class CalculateReportCommand extends Command
foreach
(
$daily_data_all
as
$key
=>
$daily
)
{
foreach
(
$daily_data_all
as
$key
=>
$daily
)
{
$daily_report
[
$key
][
'track_id'
]
=
$daily
[
'track_id'
];
$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
][
'zing_count'
]
=
$daily
[
'date_zing'
];
$daily_report
[
$key
][
'nct_count'
]
=
$daily
[
'date_nct'
];
$daily_report
[
$key
][
'nct_count'
]
=
$daily
[
'date_nct'
];
$daily_report
[
$key
][
'nhacvn_count'
]
=
0
;
$daily_report
[
$key
][
'nhacvn_count'
]
=
0
;
$daily_report
[
$key
][
'keeng_count'
]
=
$daily
[
'date_keeng'
];
$daily_report
[
$key
][
'keeng_count'
]
=
$daily
[
'date_keeng'
];
$daily_report
[
$key
][
'total_listen'
]
=
$daily
[
'total_listen'
];
$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
][
'created_at'
]
=
Carbon
::
now
();
$daily_report
[
$key
][
'updated_at'
]
=
Carbon
::
now
();
$daily_report
[
$key
][
'updated_at'
]
=
Carbon
::
now
();
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment