fix: 添加 GET /api/categories/<id> 单个分类详情API

This commit is contained in:
2026-04-28 09:10:40 +08:00
parent 8066fc4386
commit 438fba347a
13 changed files with 28789 additions and 31 deletions

View File

@@ -0,0 +1,77 @@
[
{
"name": "Osmo Pocket 4",
"brand": "DJI",
"price": 2999,
"specs": {
"传感器类型": "1英寸CMOS",
"镜头": "20mm, f/2.0",
"ISO范围": "50-12800",
"视频分辨率": "4K 60fps",
"照片最大分辨率": "5472×3648",
"电池容量": "1545mAh",
"工作温度": "0°C至40°C"
},
"id": "597e29af5937",
"category_id": "71fa2b4d818f",
"created_at": "2026-04-28 00:07:01",
"visible": true,
"raw_text": "",
"images": [
"/static/uploads/1ad784e0b3c6_1777305525.png"
],
"publish_date": "",
"views": 0,
"is_pinned": false
},
{
"name": "Osmo Pocket 3",
"brand": "DJI",
"price": 2799,
"specs": {
"传感器类型": "1英寸CMOS",
"镜头": "20mm, f/2.0",
"ISO范围": "50-6400",
"视频分辨率": "4K 60fps",
"照片最大分辨率": "5472×3648",
"电池容量": "1300mAh",
"工作温度": "0°C至40°C"
},
"id": "ad10ac80827b",
"category_id": "71fa2b4d818f",
"created_at": "2026-04-28 00:07:01",
"visible": true,
"raw_text": "",
"images": [
"/static/uploads/1ad784e0b3c6_1777305525.png"
],
"publish_date": "",
"views": 0,
"is_pinned": false
},
{
"name": "DJI Pocket 2",
"brand": "DJI",
"price": 1999,
"specs": {
"传感器类型": "1/1.7英寸CMOS",
"镜头": "20mm, f/1.8",
"ISO范围": "100-3200",
"视频分辨率": "4K 60fps",
"照片最大分辨率": "6272×4680",
"电池容量": "875mAh",
"工作温度": "0°C至40°C"
},
"id": "0fde0f10ad96",
"category_id": "71fa2b4d818f",
"created_at": "2026-04-28 00:07:01",
"visible": true,
"raw_text": "",
"images": [
"/static/uploads/1ad784e0b3c6_1777305525.png"
],
"publish_date": "",
"views": 0,
"is_pinned": false
}
]