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
4ddbf023
Commit
4ddbf023
authored
Sep 15, 2021
by
卢洪光
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'pre_release' into 'master'
Pre release See merge request bp/goods!67
parents
b74dc770
a74f518a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
MarketingService.php
application/services/marketing/MarketingService.php
+11
-0
No files found.
application/services/marketing/MarketingService.php
View file @
4ddbf023
...
...
@@ -1053,6 +1053,16 @@ class MarketingService
return
$info
;
}
/**
* 获取生活号加入生活圈天数
* @param $createTime
* @return false|float
*/
private
static
function
countAccountRegisterDays
(
$createTime
)
{
return
ceil
((
time
()
-
strtotime
(
$createTime
))
/
86400
);
}
/**
* 拼单活动详情
* @param $params
...
...
@@ -1181,6 +1191,7 @@ class MarketingService
return
$info
;
}
public
static
function
getMarketingList
(
$params
)
{
$where
[
'marketing_id'
]
=
!
empty
(
$params
[
'marketing_id'
])
?
$params
[
'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