Browse Source

style(backend): 修正附件控制器中的代码格式

- 移除注释符号以激活类型过滤条件
- 统一代码缩进格式
- 保持查询条件构建的一致性
master
zhangf@suq.cn 2 weeks ago
parent
commit
902276bd27
  1. 2
      app/controller/backend/AttachmentController.php

2
app/controller/backend/AttachmentController.php

@ -58,7 +58,7 @@ class AttachmentController extends BaseController
} }
} }
if($type){ if($type){
// $where[] = ['type', '=', $type];
$where[] = ['type', '=', $type];
} }
$name = input('name'); $name = input('name');
if(!empty($name)){ if(!empty($name)){

Loading…
Cancel
Save