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
0606e88d
Commit
0606e88d
authored
Sep 03, 2021
by
suntengda
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'colonel' into test
parents
12c63ffe
1ecafde5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
5 deletions
+0
-5
MarketingService.php
application/services/marketing/MarketingService.php
+0
-5
No files found.
application/services/marketing/MarketingService.php
View file @
0606e88d
...
...
@@ -301,11 +301,6 @@ class MarketingService
}
elseif
(
$params
[
"activity_status"
]
==
MarketingPindan
::
ACTIVITY_STATUS_IN_PROGRESS
)
{
$where
[
"start_time[<=]"
]
=
$now
;
$where
[
"end_time[>=]"
]
=
$now
;
//七日内开始的活动
if
(
!
empty
(
$params
[
'from'
])
&&
$params
[
'from'
]
==
1
)
{
$beforeSevenDay
=
date
(
"Y-m-d H:i:s"
,
strtotime
(
"-7 day"
));
$where
[
"start_time[>]"
]
=
$beforeSevenDay
;
}
}
elseif
(
$params
[
"activity_status"
]
==
MarketingPindan
::
ACTIVITY_STATUS_FINISHED
)
{
$where
[
"end_time[<]"
]
=
$now
;
//七日内结束的活动
...
...
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