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
1b604a67
Commit
1b604a67
authored
Jul 15, 2021
by
luhongguang
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' of
https://git.yidian-inc.com:8021/bp/goods
into develop
parents
8f449421
1ddf3a63
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
Marketing.php
daemon/Marketing.php
+5
-3
No files found.
daemon/Marketing.php
View file @
1b604a67
...
...
@@ -5,7 +5,8 @@ namespace Daemon;
use
Api\PhpServices\Daemon\DaemonServiceInterface
;
use
App\Models\marketing\mysql\Marketing
;
use
App\Models\marketing\mysql\Marketing
as
MarketingDao
;
use
Api\PhpUtils\Log\FileLog
;
class
Marketing
implements
DaemonServiceInterface
{
...
...
@@ -16,7 +17,8 @@ class Marketing implements DaemonServiceInterface
'online_status'
=>
1
,
'end_time[<]'
=>
date
(
"Y-m-d H:i:s"
,
time
())
];
$orderInfoList
=
Marketing
::
getMarketingList
(
$orderData
);
$orderInfoList
=
MarketingDao
::
getMarketingList
(
$orderData
);
FileLog
::
info
(
'DaemonServiceInterface_marketing'
,
json_encode
(
$orderInfoList
));
foreach
(
$orderInfoList
as
$key
=>
$value
)
{
$where
=
[];
$where
[
'marketing_id'
]
=
!
empty
(
$value
[
'marketing_id'
])
?
$value
[
'marketing_id'
]
:
''
;
...
...
@@ -24,7 +26,7 @@ class Marketing implements DaemonServiceInterface
$colums
=
[
'online_status'
=>
3
,
];
Marketing
::
updateRecord
(
$colums
,
$where
);
Marketing
Dao
::
updateRecord
(
$colums
,
$where
);
}
}
...
...
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