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
2d91bbd4
...
2d91bbd43ada20b73b128b68087d3119a891a091
authored
2021-06-30 17:12:36 +0800
by
lemon
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
*
1 parent
16d32442
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
app/Services/MusicianWithdrawService.php
app/Services/MusicianWithdrawService.php
View file @
2d91bbd
...
...
@@ -25,7 +25,7 @@ class MusicianWithdrawService extends Service
{
$order_id
=
$this
->
request
->
input
(
'order_id'
);
if
(
!
RedisClient
::
instance
()
->
set
(
str_replace
(
'#order#'
,
$order_id
,
config
(
'cachekey.withdraw.prepare'
)),
true
,
[
"nx"
,
"ex"
=>
3
]
))
{
if
(
!
RedisClient
::
instance
()
->
set
(
str_replace
(
'#order#'
,
$order_id
,
config
(
'cachekey.withdraw.prepare'
)),
true
,
"nx"
,
"ex"
,
3
))
{
return
$this
->
error
(
ErrorCode
::
REPEAT_SUBMIT
);
}
...
...
@@ -80,7 +80,7 @@ class MusicianWithdrawService extends Service
{
$order_id
=
$this
->
request
->
input
(
'order_id'
);
if
(
!
RedisClient
::
instance
()
->
set
(
str_replace
(
'#order#'
,
$order_id
,
config
(
'cachekey.withdraw.audit'
)),
true
,
[
"nx"
,
"ex"
=>
3
]
))
{
if
(
!
RedisClient
::
instance
()
->
set
(
str_replace
(
'#order#'
,
$order_id
,
config
(
'cachekey.withdraw.audit'
)),
true
,
"nx"
,
"ex"
,
3
))
{
return
Response
::
error
(
ErrorCode
::
REPEAT_SUBMIT
);
}
...
...
Please
register
or
sign in
to post a comment