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
f925b825
...
f925b8255c7003bd720d1bce1faf916fd300faa9
authored
2021-08-11 17:08:45 +0800
by
lemon
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
*
1 parent
cef889d7
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
app/Services/MusicianBalanceService.php
app/Services/MusicianBalanceService.php
View file @
f925b82
...
...
@@ -30,6 +30,8 @@ class MusicianBalanceService extends Service
'remain_prepaid'
=>
'0.00'
,
];
return
Response
::
success
(
$account
);
//累计提现
$account
[
'cash_total'
]
=
CashOutOrder
::
query
()
->
where
([
'cash_out_uid'
=>
$this
->
request
->
input
(
'cash_out_uid'
),
'status'
=>
1
,
'withdraw_state'
=>
1
])
->
sum
(
'cash_out_money'
);
...
...
@@ -67,6 +69,8 @@ class MusicianBalanceService extends Service
'amount'
=>
'0.00'
,
];
return
Response
::
success
(
$account
);
$payer
=
StakeholderBalanceByPayer
::
query
()
->
with
(
'subject:no,name'
)
->
identify
()
->
get
();
foreach
(
$payer
as
$item
)
{
...
...
Please
register
or
sign in
to post a comment