|
|
@@ -205,11 +205,6 @@ class System extends Base
|
|
|
$temp = $temp->where('start_time','<',strtotime($end . ' 23:59:59'));
|
|
|
$countTmp = $temp->where('start_time','<',strtotime($end . ' 23:59:59'));
|
|
|
}
|
|
|
- //开始时间/结束时间都为空(默认查七天)
|
|
|
-// if(empty($start) && empty($end)){
|
|
|
-// $temp = $temp->where('start_time','<',time())->where('start_time','>',time()-604800);
|
|
|
-// $countTmp = $temp->where('start_time','<',time())->where('start_time','>',time()-604800);
|
|
|
-// }
|
|
|
|
|
|
//客服
|
|
|
if($user_id != 0){
|
|
|
@@ -219,8 +214,8 @@ class System extends Base
|
|
|
|
|
|
//客服组
|
|
|
if($group_id != 0){
|
|
|
- $temp = $temp->where('group_id', $group_id);
|
|
|
- $countTmp = $temp->where('group_id', $group_id);
|
|
|
+ $temp = $temp->where('group_id', 4);
|
|
|
+ $countTmp = $temp->where('group_id', 4);
|
|
|
}
|
|
|
|
|
|
$result = $temp->limit($offset, $limit)->order('start_time', 'desc')->select();
|