- 移除注释符号以激活类型过滤条件 - 统一代码缩进格式 - 保持查询条件构建的一致性
@ -58,7 +58,7 @@ class AttachmentController extends BaseController
}
if($type){
// $where[] = ['type', '=', $type];
$where[] = ['type', '=', $type];
$name = input('name');
if(!empty($name)){