Commit c5b588e1 authored by zhuwei's avatar zhuwei

bug

parent d512519e
...@@ -154,15 +154,18 @@ class User extends Basic ...@@ -154,15 +154,18 @@ class User extends Basic
foreach ($userList as $k => $v) { foreach ($userList as $k => $v) {
$is_show = $clientService->dialTotal($v["user_id"]); $is_show = $clientService->dialTotal($v["user_id"]);
if ($is_show) { if ($is_show) {
array_push($list, $v);
}
}
}
foreach ($list as $k => $v) {
//判断客户是否超过24小时保护期间 0:保护器内 1:超过保护期 //判断客户是否超过24小时保护期间 0:保护器内 1:超过保护期
$is_outstrip_twenty_four_hours = 0; $is_outstrip_twenty_four_hours = 0;
if((time() - strtotime($v['create_time'])) > (60*60*24)){ if((time() - strtotime($v['create_time'])) > (60*60*24)){
$is_outstrip_twenty_four_hours = 1; $is_outstrip_twenty_four_hours = 1;
} }
$v['is_outstrip_twenty_four_hours']=$is_outstrip_twenty_four_hours; $list[$k]['is_outstrip_twenty_four_hours']=$is_outstrip_twenty_four_hours;
array_push($list, $v);
}
}
} }
$vip_services = new VipService(); $vip_services = new VipService();
......
...@@ -291,7 +291,7 @@ Route::group('index', [ ...@@ -291,7 +291,7 @@ Route::group('index', [
'selectStorePerformance' => [ 'index/Performance/selectStorePerformance', [ 'method' => 'POST|GET' ] ], //门店业绩排行 朱伟 2018-07-31 'selectStorePerformance' => [ 'index/Performance/selectStorePerformance', [ 'method' => 'POST|GET' ] ], //门店业绩排行 朱伟 2018-07-31
'selectIndividualPerformance' => [ 'index/Performance/selectIndividualPerformance', [ 'method' => 'POST|GET' ] ], //个人业绩排行 朱伟 2018-07-31 'selectIndividualPerformance' => [ 'index/Performance/selectIndividualPerformance', [ 'method' => 'POST|GET' ] ], //个人业绩排行 朱伟 2018-07-31
'transformFollowUp' => [ 'index/HouseFollowUp/transformFollowUp', [ 'method' => 'GET' ] ], //个人业绩排行 朱伟 2018-07-31 'transformFollowUp' => [ 'index/HouseFollowUp/transformFollowUp', [ 'method' => 'GET' ] ], //个人业绩排行 朱伟 2018-07-31
'getPerformanceExcel' => [ 'index/Performance/getPerformanceExcel', [ 'method' => 'POST|GET' ] ], //区域业绩排行 朱伟 2018-07-31 'getPerformanceExcel' => [ 'index/Performance/getPerformanceExcel', [ 'method' => 'POST|GET' ] ],
......
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