Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Cong.Zhao
/
musician-api.hikoon.com
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
cef889d7
...
cef889d7e50a76b7a9fa7d9fa73e75ad8843f7d4
authored
2021-08-10 17:22:06 +0800
by
lemon
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
*
1 parent
d883c992
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
app/Services/MusicianIncomeService.php
app/Services/MusicianIncomeService.php
View file @
cef889d
...
...
@@ -48,12 +48,14 @@ class MusicianIncomeService extends Service
foreach
(
$months
as
$month
)
{
if
(
!
isset
(
$stat_income
[
$month
]))
{
$stat_income
[
$month
]
=
[
'month'
=>
$month
,
'month'
=>
intval
(
$month
)
,
'income'
=>
0.00
];
}
}
ksort
(
$stat_income
);
return
Response
::
success
([
'list'
=>
array_values
(
$stat_income
),
'total_income'
=>
$total_income
]);
}
...
...
Please
register
or
sign in
to post a comment