edit-api-filter_limimt
This commit is contained in:
@@ -268,7 +268,9 @@ class Cusorder extends Wxapp{
|
||||
];
|
||||
|
||||
$group_id == 1 && $where['admin_id'] = $uid;//销售
|
||||
$group_id == 4 && $where['brand_id!='] = 3; //渠道经理过滤
|
||||
if($group_id == 4 && $biz_id!=1){
|
||||
$where['brand_id!='] = 3; //渠道经理过滤
|
||||
}
|
||||
|
||||
if($keyword){
|
||||
$where["(name='{$keyword}' or mobile='{$keyword}')"] = null;
|
||||
|
||||
@@ -372,7 +372,9 @@ class Customers extends Wxapp{
|
||||
if($group_id==1 || $ismy){
|
||||
$where["admin_id"] = $uid;
|
||||
}
|
||||
$group_id == 4 && $where['brand_id!='] = 3; //渠道经理过滤
|
||||
if($group_id == 4 && $biz_id!=1){
|
||||
$where['brand_id!='] = 3; //渠道经理过滤
|
||||
}
|
||||
if($s_time && $e_time){
|
||||
$where['c_time >='] = strtotime($s_time);
|
||||
$where['c_time <='] = strtotime(date('Y-m-d 23:59:59',strtotime($e_time)));
|
||||
|
||||
Reference in New Issue
Block a user