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
39db4958
...
39db49582ee98663b9550ffd15dba31164447cae
authored
2021-11-15 11:48:12 +0800
by
lemon
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
*
1 parent
bf27be19
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 additions
and
2 deletions
app/Services/MusicianWithdrawService.php
routes/api.php
app/Services/MusicianWithdrawService.php
View file @
39db495
...
...
@@ -126,7 +126,6 @@ class MusicianWithdrawService extends Service
if
(
empty
(
$app
))
throw
new
\Exception
(
'找不到相关入账记录'
);
//权益人-付款主体账户
StakeholderBalanceByPayer
::
query
()
->
where
([
'condition'
=>
$condition
])
->
update
([
'account'
=>
DB
::
raw
(
"account +
{
$balance_detail
->
real_share_amount
}
"
),
//总收入
...
...
routes/api.php
View file @
39db495
...
...
@@ -41,7 +41,7 @@ Route::group([], function (){
Route
::
post
(
'withdraw/receipt_by_name'
,
'MusicianWithdrawController@receiptByName'
);
//账单状态修改
Route
::
post
(
'withdraw/bill_confirm'
,
'MusicianWithdrawController@billConfirm'
);
Route
::
any
(
'withdraw/bill_confirm'
,
'MusicianWithdrawController@billConfirm'
);
//账单状态修改
Route
::
post
(
'withdraw/status'
,
'MusicianWithdrawController@status'
);
//钱包-账单收益
...
...
Please
register
or
sign in
to post a comment