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
6c3bef01
...
6c3bef01d8d44eb78308bfd08f804ceac7d83a3b
authored
2021-11-15 15:27:20 +0800
by
lemon
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
账单搜狐一详情
1 parent
10a9c43e
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
4 deletions
app/Http/Requests/Musician/MusicianWalletDetailRequest.php
app/Services/MusicianWithdrawService.php
routes/api.php
app/Http/Requests/Musician/MusicianWalletDetailRequest.php
View file @
6c3bef0
...
...
@@ -24,7 +24,7 @@ class MusicianWalletDetailRequest extends FormRequest
public
function
rules
()
{
return
[
'
busi_id
'
=>
[
'required'
,
'bail'
,
'string'
],
'
serial_no
'
=>
[
'required'
,
'bail'
,
'string'
],
];
}
...
...
@@ -34,7 +34,7 @@ class MusicianWalletDetailRequest extends FormRequest
public
function
messages
()
:
array
{
return
[
'
busi_id
.required'
=>
'请提供业务流水号'
,
'
serial_no
.required'
=>
'请提供业务流水号'
,
];
}
}
...
...
app/Services/MusicianWithdrawService.php
View file @
6c3bef0
...
...
@@ -29,7 +29,7 @@ class MusicianWithdrawService extends Service
*/
public
function
walletDetail
()
{
$income_by_payer
=
StakeholderIncomeSyncAppDetails
::
query
()
->
where
([
'serial_no'
=>
$this
->
request
->
input
(
'
busi_id
'
),
'sync_status'
=>
1
])
->
first
();
$income_by_payer
=
StakeholderIncomeSyncAppDetails
::
query
()
->
where
([
'serial_no'
=>
$this
->
request
->
input
(
'
serial_no
'
),
'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
([
...
...
routes/api.php
View file @
6c3bef0
...
...
@@ -37,7 +37,6 @@ Route::group([], function (){
//提现发票抬头 - 通过公司中文
Route
::
post
(
'withdraw/receipt_by_name'
,
'MusicianWithdrawController@receiptByName'
);
//账单状态修改
Route
::
post
(
'withdraw/bill_confirm'
,
'MusicianWithdrawController@billConfirm'
);
//账单状态修改
...
...
Please
register
or
sign in
to post a comment