From f680e2da0eb84140afa34b2ee4a986615309a79d Mon Sep 17 00:00:00 2001 From: qianhy Date: Tue, 9 May 2023 13:37:18 +0800 Subject: [PATCH] customers visit_lists visit=4 modift status>0 --- api/controllers/wxapp/licheb/Customers.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/controllers/wxapp/licheb/Customers.php b/api/controllers/wxapp/licheb/Customers.php index 596656cb..879b51b8 100644 --- a/api/controllers/wxapp/licheb/Customers.php +++ b/api/controllers/wxapp/licheb/Customers.php @@ -1176,7 +1176,7 @@ class Customers extends Wxapp if ($group_id == 1) { $where['userid'] = $this->session['userid'] ? $this->session['userid'] : '-1'; } else { - $res_user = $this->app_user_model->select(['biz_id' => $this->biz_id, 'group_id <' => 4, 'status' => 1, 'userid<>' => ''], 'id asc', 0, 0, 'userid'); + $res_user = $this->app_user_model->select(['biz_id' => $this->biz_id, 'group_id <' => 4, 'status >=' => 0, 'userid<>' => ''], 'id asc', 0, 0, 'userid'); if ($res_user) { $str_userids = implode("','", array_column($res_user, 'userid')); $where["userid in('{$str_userids}')"] = null;