Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
goods
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
bp
goods
Commits
1ddf3a63
Commit
1ddf3a63
authored
Jul 15, 2021
by
jianghaiming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update:set
parent
df4e1e02
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
Marketing.php
daemon/Marketing.php
+2
-0
No files found.
daemon/Marketing.php
View file @
1ddf3a63
...
@@ -6,6 +6,7 @@ namespace Daemon;
...
@@ -6,6 +6,7 @@ namespace Daemon;
use
Api\PhpServices\Daemon\DaemonServiceInterface
;
use
Api\PhpServices\Daemon\DaemonServiceInterface
;
use
App\Models\marketing\mysql\Marketing
as
MarketingDao
;
use
App\Models\marketing\mysql\Marketing
as
MarketingDao
;
use
Api\PhpUtils\Log\FileLog
;
class
Marketing
implements
DaemonServiceInterface
class
Marketing
implements
DaemonServiceInterface
{
{
...
@@ -17,6 +18,7 @@ class Marketing implements DaemonServiceInterface
...
@@ -17,6 +18,7 @@ class Marketing implements DaemonServiceInterface
'end_time[<]'
=>
date
(
"Y-m-d H:i:s"
,
time
())
'end_time[<]'
=>
date
(
"Y-m-d H:i:s"
,
time
())
];
];
$orderInfoList
=
MarketingDao
::
getMarketingList
(
$orderData
);
$orderInfoList
=
MarketingDao
::
getMarketingList
(
$orderData
);
FileLog
::
info
(
'DaemonServiceInterface_marketing'
,
json_encode
(
$orderInfoList
));
foreach
(
$orderInfoList
as
$key
=>
$value
)
{
foreach
(
$orderInfoList
as
$key
=>
$value
)
{
$where
=
[];
$where
=
[];
$where
[
'marketing_id'
]
=
!
empty
(
$value
[
'marketing_id'
])
?
$value
[
'marketing_id'
]
:
''
;
$where
[
'marketing_id'
]
=
!
empty
(
$value
[
'marketing_id'
])
?
$value
[
'marketing_id'
]
:
''
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment