From d630126ed62a4e0b3115d510d61da6c916bec5e5 Mon Sep 17 00:00:00 2001 From: lccsw <805383944@qq.com> Date: Tue, 11 Nov 2025 10:42:28 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=B0=8F=E7=A8=8B=E5=BA=8F?= =?UTF-8?q?=E6=88=91=E7=9A=84=E7=BB=9F=E8=AE=A1=E6=9D=A1=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/controllers/wxapp/licheb/User.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/api/controllers/wxapp/licheb/User.php b/api/controllers/wxapp/licheb/User.php index 5d21da79..48556c86 100644 --- a/api/controllers/wxapp/licheb/User.php +++ b/api/controllers/wxapp/licheb/User.php @@ -326,7 +326,9 @@ class User extends Wxapp $customer_op_list = []; } else { $where = ['admin_id' => 0, 'biz_id' => $biz_id, 'status>=' => 0]; - $biz_type == Biz_model::BIZ_TYPE_4s && $where['un_lock'] = 1; + if (in_array($biz_type, [Biz_model::BIZ_TYPE_4s, Biz_model::BIZ_TYPE_SPACE])) { + $where['un_lock'] = 1; + } $unuse_count = $this->customers_model->count($where); $where = ['biz_id' => $biz_id, 'cs_biz_id<>' => -1, 'if_defeat' => 1, 'status>' => -1]; $biz_type == Biz_model::BIZ_TYPE_4s && $where['un_lock'] = 1;