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
d106ca37
...
d106ca379c82eef4c8dee66dba1a8b55aac518e6
authored
2021-12-03 14:33:27 +0800
by
lemon
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
确认账单bug
1 parent
d2e80d7f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
app/Services/MusicianWithdrawService.php
routes/api.php
app/Services/MusicianWithdrawService.php
View file @
d106ca3
...
...
@@ -85,7 +85,7 @@ class MusicianWithdrawService extends Service
{
if
(
RedisClient
::
instance
(
'bills'
)
->
set
(
CacheKeyTools
::
billsConfirm
(
$this
->
request
->
serial_no
),
true
,
'EX'
,
3
,
'NX'
))
{
$app
=
StakeholderIncomeSyncApp
::
query
()
->
where
([
'serial_no'
=>
$this
->
request
->
serial_no
,
'sync_status'
=>
0
,
'identifier'
=>
$this
->
identifier
->
identifier
])
->
select
([
'id'
,
'subject_no'
,
'company_id'
,
'stakeholder_id'
,
'related_id'
])
->
first
();
$app
=
StakeholderIncomeSyncApp
::
query
()
->
where
([
'serial_no'
=>
$this
->
request
->
serial_no
,
'sync_status'
=>
1
,
'identifier'
=>
$this
->
identifier
->
identifier
,
'type'
=>
1
])
->
select
([
'id'
,
'subject_no'
,
'company_id'
,
'stakeholder_id'
,
'related_id'
])
->
first
();
DB
::
beginTransaction
();
...
...
routes/api.php
View file @
d106ca3
...
...
@@ -44,7 +44,7 @@ Route::group([], function (){
//账单状态修改
Route
::
post
(
'withdraw/bill_confirm'
,
'MusicianWithdrawController@billConfirm'
);
Route
::
any
(
'withdraw/bill_confirm'
,
'MusicianWithdrawController@billConfirm'
);
//账单状态修改
Route
::
any
(
'withdraw/status'
,
'MusicianWithdrawController@withdraw'
);
//钱包-账单收益
...
...
Please
register
or
sign in
to post a comment