refactor: 下载分类列表接口调整

This commit is contained in:
2025-03-28 15:37:40 +08:00
parent baa5addc60
commit d9f3b64ae9
2 changed files with 7 additions and 1 deletions

View File

@@ -39,7 +39,7 @@ class AttachmentCategory
'page' => $params['page']
]);
} else if ('all' == request()->param('scene')) {
$categorys = $categorys->select()->hidden(['sort', 'is_show']);
$categorys = $categorys->isShow()->select()->hidden(['sort', 'is_show']);
}
return success('获取成功', $categorys);