From 902276bd27f96e203230e7de2faa3c4e31525742 Mon Sep 17 00:00:00 2001 From: "zhangf@suq.cn" Date: Mon, 7 Sep 2026 19:55:34 +0800 Subject: [PATCH] =?UTF-8?q?style(backend):=20=E4=BF=AE=E6=AD=A3=E9=99=84?= =?UTF-8?q?=E4=BB=B6=E6=8E=A7=E5=88=B6=E5=99=A8=E4=B8=AD=E7=9A=84=E4=BB=A3?= =?UTF-8?q?=E7=A0=81=E6=A0=BC=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 移除注释符号以激活类型过滤条件 - 统一代码缩进格式 - 保持查询条件构建的一致性 --- app/controller/backend/AttachmentController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controller/backend/AttachmentController.php b/app/controller/backend/AttachmentController.php index a86d4be..d20d6bb 100644 --- a/app/controller/backend/AttachmentController.php +++ b/app/controller/backend/AttachmentController.php @@ -58,7 +58,7 @@ class AttachmentController extends BaseController } } if($type){ - // $where[] = ['type', '=', $type]; + $where[] = ['type', '=', $type]; } $name = input('name'); if(!empty($name)){