Commit b8c0cad2 authored by zhuwei's avatar zhuwei

核销红包 收款修改

parent 461c9aaa
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment