Commit 1efca5b0 authored by hujun's avatar hujun

默认跟进时分秒

parent cdb87093
...@@ -500,12 +500,12 @@ class CallPhoneService ...@@ -500,12 +500,12 @@ class CallPhoneService
$m_follow_up = new UPhoneFollowPp(); $m_follow_up = new UPhoneFollowPp();
$current_time = time(); $current_time = time();
$time = $current_time - 3600; $time = $current_time - 3600;
$start_date = date('Y-m-d', $time); // $start_date = date('Y-m-d', $time);
$end_date = date('Y-m-d'); $end_date = date('Y-m-d');
$user_key = 'call_phone_user_' . $end_date; $user_key = 'call_phone_user_' . $end_date;
$user_data = $this->redis->hKeys($user_key); $user_data = $this->redis->hKeys($user_key);
$content = '拨打电话,未打跟进。'; $content = '拨打电话,未打跟进。';
$follow_where['create_time'] = ['between', [$start_date, $end_date]]; $follow_where['create_time'] = ['between', [date('Y-m-d H:i:s', $time), date('Y-m-d H:i:s')]];
//用户 //用户
if (!empty($user_data)) { if (!empty($user_data)) {
......
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