refactor: 后台问答分页图片改缩略图输出

This commit is contained in:
2025-06-05 17:01:48 +08:00
parent 8815809b68
commit 93e3ac5d70

View File

@@ -38,7 +38,8 @@ class Faq
->paginate([
'list_rows' => $param['size'],
'page' => $param['page'],
]);
])
?->each(fn($item) => $item->image = thumb($item->image));
return success('获取成功', $faqs);
}