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
20234952
...
20234952937b2cab70339c233f3e345912958151
authored
2021-09-15 10:11:53 +0800
by
lemon
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
同步数据
1 parent
a51ec45c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletions
app/Jobs/StakeholderIncomeSyncJob.php
app/Jobs/StakeholderIncomeSyncJob.php
View file @
2023495
...
...
@@ -75,6 +75,11 @@ class StakeholderIncomeSyncJob implements ShouldQueue
'title'
=>
"
{
$bills
->
bill_section_start
}
-
{
$bills
->
bill_section_end
}
账单/
{
$channel
}
"
,
];
if
(
$res
=
StakeholderIncomeByPayer
::
query
()
->
where
([
'serial_no'
=>
$income_item
[
'serial_no'
]])
->
first
())
{
if
(
$res
[
'sync_status'
]
==
0
)
{
//直接未同步的数据才请求api
$http_res
=
ApiService
::
walletAddIncome
(
$http_data
);
if
(
empty
(
$http_res
))
{
...
...
@@ -98,8 +103,12 @@ class StakeholderIncomeSyncJob implements ShouldQueue
$redis
->
xdel
(
$key
,
[
$id
]);
}
}
}
}
else
{
$redis
->
xdel
(
$key
,
[
$id
]);
}
}
}
}
}
}
...
...
Please
register
or
sign in
to post a comment