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
1c7fe263
...
1c7fe26336040efc83c7571f655b9afe796ad420
authored
2021-11-30 11:20:56 +0800
by
lemon
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
加入销毁变量
1 parent
7d08d720
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletions
app/Console/Commands/StakeholderIncomeSyncCommand.php
app/Console/Commands/StakeholderIncomeSyncCommand.php
View file @
1c7fe26
...
...
@@ -76,7 +76,7 @@ class StakeholderIncomeSyncCommand extends Command
$serial_no
=
$task
[
'serial_no'
];
$http_res
=
[];
Log
::
channel
(
'api'
)
->
warning
(
__METHOD__
.
"streamid:
{
$key
}
:
{
$id
}
-即将处理任务"
,
[
'task'
=>
$task
]);
Log
::
channel
(
'api'
)
->
warning
(
__METHOD__
.
"stream
-
id:
{
$key
}
:
{
$id
}
-即将处理任务"
,
[
'task'
=>
$task
]);
//获取记录
if
(
$http_data
=
$this
->
resolveSyncData
(
$serial_no
))
{
...
...
@@ -95,6 +95,9 @@ class StakeholderIncomeSyncCommand extends Command
//标记处理
$this
->
consumeTask
(
$redis
,
$http_res
,
$key
,
$id
);
//销毁变量
unset
(
$redis
,
$id
,
$task
,
$serial_no
,
$http_res
,
$http_data
);
}
}
}
...
...
Please
register
or
sign in
to post a comment