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
3c5a0849
...
3c5a0849666cd6d052292cb60c2cf21920785cfe
authored
2021-09-17 11:26:48 +0800
by
lemon
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
*
1 parent
befef37d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
app/Console/Commands/StakeholderIncomeSyncCommand.php
app/Services/MusicianWithdrawService.php
app/Console/Commands/StakeholderIncomeSyncCommand.php
View file @
3c5a084
...
...
@@ -76,6 +76,7 @@ class StakeholderIncomeSyncCommand extends Command
$channel
=
'TME'
;
$http_data
=
[
'busiId'
=>
$income_item
[
'serial_no'
],
'cardNo'
=>
$income_item
[
'identifier'
],
'faxMoney'
=>
$income_item
[
'fax_money'
],
'money'
=>
$income_item
[
'money'
],
...
...
app/Services/MusicianWithdrawService.php
View file @
3c5a084
...
...
@@ -21,7 +21,7 @@ class MusicianWithdrawService extends Service
*/
public
function
walletDetail
()
{
$income_by_payer
=
StakeholderIncomeByPayer
::
query
()
->
where
([
'
busi_id
'
=>
$this
->
request
->
input
(
'busi_id'
),
'sync_status'
=>
1
])
->
first
();
$income_by_payer
=
StakeholderIncomeByPayer
::
query
()
->
where
([
'
serial_no
'
=>
$this
->
request
->
input
(
'busi_id'
),
'sync_status'
=>
1
])
->
first
();
if
(
empty
(
$income_by_payer
))
return
Response
::
error
(
ErrorCode
::
ORDER_NO_FOUND
);
$collate
=
StakeholderSongCollate
::
query
()
->
with
(
'song:id,name,singer'
)
->
where
([
...
...
@@ -103,7 +103,7 @@ class MusicianWithdrawService extends Service
$withdraw_status
=
''
;
$query
=
StakeholderIncomeByPayer
::
query
()
->
where
([
'sync_status'
=>
1
,
'identifier'
=>
$this
->
identifier
->
identifier
])
->
whereIn
(
'
busi_id
'
,
$this
->
request
->
input
(
'busi_id'
));
->
whereIn
(
'
serial_no
'
,
$this
->
request
->
input
(
'busi_id'
));
switch
(
$this
->
request
->
input
(
'type'
))
{
case
'confirm'
:
//已确认
...
...
Please
register
or
sign in
to post a comment