From ecb9690f93033bd29cbfa8be792ba0fe1303241c Mon Sep 17 00:00:00 2001 From: wuhui_zzw <1760308791@qq.com> Date: Wed, 15 Nov 2023 10:19:32 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=EF=BC=9A=E8=8E=B7=E5=8F=96?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=E5=88=86=E7=B1=BB=E6=97=B6=20=20=E9=9A=90?= =?UTF-8?q?=E8=97=8F=E7=9A=84=E5=88=86=E7=B1=BB=E4=B9=9F=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E4=BA=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/common/dao/system/config/SystemConfigClassifyDao.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/common/dao/system/config/SystemConfigClassifyDao.php b/app/common/dao/system/config/SystemConfigClassifyDao.php index 38c7226..f154c76 100644 --- a/app/common/dao/system/config/SystemConfigClassifyDao.php +++ b/app/common/dao/system/config/SystemConfigClassifyDao.php @@ -98,7 +98,7 @@ class SystemConfigClassifyDao extends BaseDao */ public function children(int $pid, string $field = 'config_classify_id,classify_name') { - return SystemConfigClassify::getDB()->where('pid', $pid)->field($field)->select(); + return SystemConfigClassify::getDB()->where('pid', $pid)->where('status',1)->field($field)->select(); } /**