Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tl_estate
Project
Project
Details
Activity
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
hujun
tl_estate
Commits
5c3eec40
Commit
5c3eec40
authored
May 16, 2019
by
zhuwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
核销红包 只要是收款就行 不一定非得是意向金
parent
461c9aaa
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
ConvertCouponService.php
application/api/service/ConvertCouponService.php
+3
-3
No files found.
application/api/service/ConvertCouponService.php
View file @
5c3eec40
...
...
@@ -259,16 +259,16 @@ class ConvertCouponService
}
$params
[
'user_id'
]
=
$user_id
;
$params
[
'type'
]
=
10
;
//$params['type'] = 10; 2019年05月16日修改 只要是收款就行 不一定非得是意向金
$pay_log
=
$this
->
m_pay_log
->
getPayLogByUserId
(
'a.create_time'
,
$params
);
$pay_log_time
=
$pay_log
[
'create_time'
];
if
(
!
$pay_log_time
){
big_log
(
'客户不存在收
意向金
'
);
big_log
(
'客户不存在收
款
'
);
return
false
;
}
$pay_hour
=
(
strtotime
(
$pay_log_time
)
-
strtotime
(
$first_login_time
))
/
3600
;
if
(
$pay_hour
<
48
){
big_log
(
'客户首次登录时间 和 收
意向金
时间 小于48小时'
);
big_log
(
'客户首次登录时间 和 收
款
时间 小于48小时'
);
return
false
;
}
return
true
;
...
...
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