api 升级v2.0

This commit is contained in:
Developer
2026-04-10 06:41:08 +08:00
parent 8d27c67d3a
commit 8c41df955c
144 changed files with 27442 additions and 24998 deletions

9919
assets/data/categories.json Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,65 @@
{
"code": 200,
"message": "success",
"data": {
"current_step": 1,
"total_steps": 4,
"steps": [
{
"step": 1,
"name": "菜系分类",
"field": "category",
"description": "选择你喜欢的菜系",
"required": false,
"completed": false,
"selected": []
},
{
"step": 2,
"name": "烹饪方式",
"field": "tag",
"description": "选择烹饪方法",
"required": false,
"completed": false,
"selected": []
},
{
"step": 3,
"name": "口味偏好",
"field": "taste",
"description": "选择口味类型",
"required": false,
"completed": false,
"selected": []
},
{
"step": 4,
"name": "功效需求",
"field": "effect",
"description": "选择功效类型",
"required": false,
"completed": false,
"selected": []
}
],
"available_options": [
{
"id": 11,
"name": "菜谱",
"type": "parent",
"children_count": 1,
"children": [
{
"id": 12,
"name": "中国菜",
"count": 4
}
]
}
],
"matched_count": 30916,
"can_skip": true,
"can_apply": true
},
"_query_time": "1302.82ms"
}

712
assets/data/home_list.json Normal file
View File

@@ -0,0 +1,712 @@
{
"code": 200,
"message": "success",
"data": {
"list": [
{
"id": 4,
"title": "姜",
"intro": "<p>&nbsp; &nbsp; &nbsp; &quot;生姜还具有解毒杀菌的作用日常我们在吃松花蛋或鱼蟹等水产时通常会放上一些姜末、姜汁。人体在进行正常新陈代谢生理功能时会产生一种有害物质氧自由基促使机体发生癌症和衰老。生姜中的姜辣素进入体内后能产生一种抗氧化本酶它有很强的对付氧自由基的本领比维生素E还要强得多。所以吃姜能抗衰老老年人常吃生姜可除“老年斑”。生姜的提取物能刺激胃粘膜引起血管运动中枢及交感神经的反射性兴奋促进血液循环振奋胃功能达到健胃、止痛、发汗、解热的作用。姜的挥发油能增强胃液的分泌和肠壁的蠕动从而帮助消化生姜中分离出来的姜烯、姜酮的混合物有明显的止呕吐作用。生姜提取液具有显著抑制皮肤真菌和杀来头阴道滴虫的功效可治疗各种痈肿疮毒。生姜有抑制癌细胞活性、降低癌的毒害作用。&quot;</p><p><br/></p>",
"category_id": 2334,
"category_name": "贡菜",
"tags": [
{
"id": "2",
"name": "原本味"
},
{
"id": "30",
"name": "咖喱味"
}
],
"create_time": false,
"view_count": 23,
"comment_count": 0,
"meta": [],
"url": "?id=4",
"cover": ""
},
{
"id": 36079,
"title": "爆肚",
"intro": "中餐、晚餐",
"category_id": 43,
"category_name": "私家菜",
"tags": [
{
"id": "112",
"name": "酱爆"
},
{
"id": "14",
"name": "酱香味"
}
],
"create_time": false,
"view_count": 11,
"comment_count": 0,
"meta": {
"indices": {
"营养": 7,
"难易": 5,
"时间": 5
},
"process": "酱爆",
"taste": "酱香味",
"eating_time": [
"中餐",
"晚餐"
]
},
"url": "?id=36079",
"cover": ""
},
{
"id": 40288,
"title": "干煸豇豆烧肉",
"intro": "中餐、晚餐",
"category_id": 43,
"category_name": "私家菜",
"tags": [
{
"id": "63",
"name": "红烧"
},
{
"id": "14",
"name": "酱香味"
}
],
"create_time": false,
"view_count": 8,
"comment_count": 0,
"meta": {
"indices": {
"营养": 7,
"难易": 6,
"时间": 4
},
"process": "红烧",
"taste": "酱香味",
"eating_time": [
"中餐",
"晚餐"
]
},
"url": "?id=40288",
"cover": ""
},
{
"id": 28150,
"title": "冬瓜四灵",
"intro": "中餐、晚餐",
"category_id": 19,
"category_name": "苏菜",
"tags": [
{
"id": "52",
"name": "蒸"
},
{
"id": "1",
"name": "咸鲜味"
}
],
"create_time": false,
"view_count": 19,
"comment_count": 0,
"meta": {
"indices": {
"营养": 9,
"难易": 4,
"时间": 2
},
"process": "蒸",
"taste": "咸鲜味",
"eating_time": [
"中餐",
"晚餐"
]
},
"url": "?id=28150",
"cover": ""
},
{
"id": 30366,
"title": "血糯米扣肉",
"intro": "早餐、中餐、晚餐、零食",
"category_id": 32,
"category_name": "沪菜",
"tags": [
{
"id": "53",
"name": "其他"
},
{
"id": "1",
"name": "咸鲜味"
}
],
"create_time": false,
"view_count": 0,
"comment_count": 0,
"meta": {
"indices": {
"营养": 7,
"难易": 4,
"时间": 4
},
"process": "其他",
"taste": "咸鲜味",
"eating_time": [
"早餐",
"中餐",
"晚餐",
"零食"
]
},
"url": "?id=30366",
"cover": ""
},
{
"id": 51335,
"title": "滑炒山鸡丝",
"intro": "早餐、中餐、晚餐、零食",
"category_id": 21,
"category_name": "京菜",
"tags": [
{
"id": "62",
"name": "滑炒"
},
{
"id": "1",
"name": "咸鲜味"
}
],
"create_time": false,
"view_count": 11,
"comment_count": 0,
"meta": {
"indices": {
"营养": 8,
"难易": 3,
"时间": 7
},
"process": "滑炒",
"taste": "咸鲜味",
"eating_time": [
"早餐",
"中餐",
"晚餐",
"零食"
]
},
"url": "?id=51335",
"cover": ""
},
{
"id": 32808,
"title": "榨菜鸭肝汤",
"intro": "中餐、晚餐",
"category_id": 42,
"category_name": "家常菜",
"tags": [
{
"id": "51",
"name": "烧"
},
{
"id": "1",
"name": "咸鲜味"
}
],
"create_time": false,
"view_count": 1,
"comment_count": 0,
"meta": {
"indices": {
"营养": 7,
"难易": 7,
"时间": 6
},
"process": "烧",
"taste": "咸鲜味",
"eating_time": [
"中餐",
"晚餐"
]
},
"url": "?id=32808",
"cover": ""
},
{
"id": 38737,
"title": "炸气鼓鸭子",
"intro": "中餐",
"category_id": 43,
"category_name": "私家菜",
"tags": [
{
"id": "79",
"name": "软炸"
},
{
"id": "6",
"name": "炸烧味"
}
],
"create_time": false,
"view_count": 3,
"comment_count": 0,
"meta": {
"indices": {
"营养": 8,
"难易": 5,
"时间": 4
},
"process": "软炸",
"taste": "炸烧味",
"eating_time": [
"中餐"
]
},
"url": "?id=38737",
"cover": ""
},
{
"id": 31235,
"title": "豆腐酿虾",
"intro": "中餐、晚餐",
"category_id": 42,
"category_name": "家常菜",
"tags": [
{
"id": "52",
"name": "蒸"
},
{
"id": "1",
"name": "咸鲜味"
}
],
"create_time": false,
"view_count": 2,
"comment_count": 0,
"meta": {
"indices": {
"营养": 8,
"难易": 7,
"时间": 6
},
"process": "蒸",
"taste": "咸鲜味",
"eating_time": [
"中餐",
"晚餐"
]
},
"url": "?id=31235",
"cover": ""
},
{
"id": 30582,
"title": "支骨鸡酥",
"intro": "中餐、晚餐",
"category_id": 36,
"category_name": "鄂菜",
"tags": [
{
"id": "52",
"name": "蒸"
},
{
"id": "1",
"name": "咸鲜味"
}
],
"create_time": false,
"view_count": 1,
"comment_count": 0,
"meta": {
"indices": {
"营养": 9,
"难易": 4,
"时间": 3
},
"process": "蒸",
"taste": "咸鲜味",
"eating_time": [
"中餐",
"晚餐"
]
},
"url": "?id=30582",
"cover": ""
},
{
"id": 30288,
"title": "胡桃仁糖",
"intro": "早餐、中餐、晚餐、零食",
"category_id": 32,
"category_name": "沪菜",
"tags": [
{
"id": "50",
"name": "炒"
},
{
"id": "4",
"name": "甜味"
}
],
"create_time": false,
"view_count": 0,
"comment_count": 0,
"meta": {
"indices": {
"营养": 7,
"难易": 5,
"时间": 5
},
"process": "炒",
"taste": "甜味",
"eating_time": [
"早餐",
"中餐",
"晚餐",
"零食"
]
},
"url": "?id=30288",
"cover": ""
},
{
"id": 38879,
"title": "藤胶炖乳鸽",
"intro": "早餐、中餐、晚餐、零食",
"category_id": 43,
"category_name": "私家菜",
"tags": [
{
"id": "55",
"name": "原炖"
},
{
"id": "2",
"name": "原本味"
}
],
"create_time": false,
"view_count": 0,
"comment_count": 0,
"meta": {
"indices": {
"营养": 7,
"难易": 7,
"时间": 5
},
"process": "原炖",
"taste": "原本味",
"eating_time": [
"早餐",
"中餐",
"晚餐",
"零食"
]
},
"url": "?id=38879",
"cover": ""
},
{
"id": 38800,
"title": "冬瓜炖羊排",
"intro": "中餐、晚餐",
"category_id": 43,
"category_name": "私家菜",
"tags": [
{
"id": "54",
"name": "炖"
},
{
"id": "1",
"name": "咸鲜味"
}
],
"create_time": false,
"view_count": 0,
"comment_count": 0,
"meta": {
"indices": {
"营养": 7,
"难易": 8,
"时间": 3
},
"process": "炖",
"taste": "咸鲜味",
"eating_time": [
"中餐",
"晚餐"
]
},
"url": "?id=38800",
"cover": ""
},
{
"id": 40092,
"title": "素烧水萝卜",
"intro": "早餐、中餐、晚餐、零食",
"category_id": 43,
"category_name": "私家菜",
"tags": [
{
"id": "81",
"name": "锅烧"
},
{
"id": "3",
"name": "清香味"
}
],
"create_time": false,
"view_count": 0,
"comment_count": 0,
"meta": {
"indices": {
"营养": 5,
"难易": 9,
"时间": 8
},
"process": "锅烧",
"taste": "清香味",
"eating_time": [
"早餐",
"中餐",
"晚餐",
"零食"
]
},
"url": "?id=40092",
"cover": ""
},
{
"id": 46009,
"title": "红萝卜鲜木耳豆腐汤",
"intro": "早餐、中餐、晚餐、零食",
"category_id": 135,
"category_name": "清热解毒食谱",
"tags": [
{
"id": "48",
"name": "煮"
},
{
"id": "25",
"name": "咸酸味"
}
],
"create_time": false,
"view_count": 0,
"comment_count": 0,
"meta": {
"indices": {
"营养": 8,
"难易": 7,
"时间": 7
},
"process": "煮",
"taste": "咸酸味",
"eating_time": [
"早餐",
"中餐",
"晚餐",
"零食"
]
},
"url": "?id=46009",
"cover": ""
},
{
"id": 29723,
"title": "松炸鸡肪",
"intro": "中餐、晚餐",
"category_id": 30,
"category_name": "晋菜",
"tags": [
{
"id": "72",
"name": "碎屑料炸"
},
{
"id": "6",
"name": "炸烧味"
}
],
"create_time": false,
"view_count": 0,
"comment_count": 0,
"meta": {
"indices": {
"营养": 7,
"难易": 4,
"时间": 5
},
"process": "碎屑料炸",
"taste": "炸烧味",
"eating_time": [
"中餐",
"晚餐"
]
},
"url": "?id=29723",
"cover": ""
},
{
"id": 33599,
"title": "蛋包番茄",
"intro": "中餐、晚餐",
"category_id": 42,
"category_name": "家常菜",
"tags": [
{
"id": "66",
"name": "煎"
},
{
"id": "20",
"name": "奶汤咸鲜"
}
],
"create_time": false,
"view_count": 1,
"comment_count": 0,
"meta": {
"indices": {
"营养": 7,
"难易": 7,
"时间": 6
},
"process": "煎",
"taste": "奶汤咸鲜",
"eating_time": [
"中餐",
"晚餐"
]
},
"url": "?id=33599",
"cover": ""
},
{
"id": 49211,
"title": "法式鹅肝酱",
"intro": "早餐、中餐、晚餐",
"category_id": 165,
"category_name": "法国菜",
"tags": [
{
"id": "49",
"name": "拌"
},
{
"id": "4",
"name": "甜味"
}
],
"create_time": false,
"view_count": 0,
"comment_count": 0,
"meta": {
"process": "拌",
"taste": "甜味",
"eating_time": [
"早餐",
"中餐",
"晚餐"
]
},
"url": "?id=49211",
"cover": ""
},
{
"id": 27629,
"title": "红曲香鸭",
"intro": "早餐、中餐、晚餐",
"category_id": 16,
"category_name": "湘菜",
"tags": [
{
"id": "68",
"name": "煨"
},
{
"id": "2",
"name": "原本味"
}
],
"create_time": false,
"view_count": 0,
"comment_count": 0,
"meta": {
"indices": {
"营养": 7,
"难易": 4,
"时间": 3
},
"process": "煨",
"taste": "原本味",
"eating_time": [
"早餐",
"中餐",
"晚餐"
]
},
"url": "?id=27629",
"cover": ""
},
{
"id": 40417,
"title": "醋熘羊肉片",
"intro": "中餐",
"category_id": 43,
"category_name": "私家菜",
"tags": [
{
"id": "111",
"name": "醋溜"
},
{
"id": "36",
"name": "酸味"
}
],
"create_time": false,
"view_count": 0,
"comment_count": 0,
"meta": {
"indices": {
"营养": 7,
"难易": 5,
"时间": 5
},
"process": "醋溜",
"taste": "酸味",
"eating_time": [
"中餐"
]
},
"url": "?id=40417",
"cover": ""
}
],
"page": 1,
"limit": 20,
"total": 30916,
"filter": {
"preferred_tags": [],
"preferred_categories": []
}
},
"_cached": false,
"_query_time": "1300.62ms"
}

View File

@@ -0,0 +1,359 @@
{
"code": 200,
"message": "success",
"data": {
"type": "recommend",
"list": [
{
"id": 37159,
"title": "马蹄炒羊丁",
"intro": "早餐、中餐、晚餐、零食",
"category": {
"id": 43,
"name": "私家菜"
},
"statistics": {
"view_count": 4,
"like_count": 0,
"recommend_count": 0
},
"publish_time": null,
"source": "hot",
"url": "?id=37159"
},
{
"id": 40282,
"title": "生氽羊肉",
"intro": "早餐、中餐、晚餐、零食",
"category": {
"id": 43,
"name": "私家菜"
},
"statistics": {
"view_count": 0,
"like_count": 0,
"recommend_count": 0
},
"publish_time": null,
"source": "random",
"url": "?id=40282"
},
{
"id": 42164,
"title": "枸杞蒸鸡",
"intro": "早餐、中餐、晚餐、零食",
"category": {
"id": 72,
"name": "肝调养食谱"
},
"statistics": {
"view_count": 0,
"like_count": 0,
"recommend_count": 0
},
"publish_time": null,
"source": "random",
"url": "?id=42164"
},
{
"id": 41651,
"title": "白煨脐门",
"intro": "中餐、晚餐",
"category": {
"id": 59,
"name": "淮扬菜"
},
"statistics": {
"view_count": 3,
"like_count": 0,
"recommend_count": 0
},
"publish_time": null,
"source": "hot",
"url": "?id=41651"
},
{
"id": 40288,
"title": "干煸豇豆烧肉",
"intro": "中餐、晚餐",
"category": {
"id": 43,
"name": "私家菜"
},
"statistics": {
"view_count": 8,
"like_count": 0,
"recommend_count": 1
},
"publish_time": null,
"source": "hot",
"url": "?id=40288"
},
{
"id": 39345,
"title": "油炸鬼蒸鱼肠",
"intro": "早餐、中餐、晚餐、零食",
"category": {
"id": 43,
"name": "私家菜"
},
"statistics": {
"view_count": 0,
"like_count": 0,
"recommend_count": 0
},
"publish_time": null,
"source": "random",
"url": "?id=39345"
},
{
"id": 36079,
"title": "爆肚",
"intro": "中餐、晚餐",
"category": {
"id": 43,
"name": "私家菜"
},
"statistics": {
"view_count": 11,
"like_count": 2,
"recommend_count": 1
},
"publish_time": null,
"source": "hot",
"url": "?id=36079"
},
{
"id": 28842,
"title": "炸麒麟肚",
"intro": "中餐、晚餐",
"category": {
"id": 23,
"name": "豫菜"
},
"statistics": {
"view_count": 0,
"like_count": 0,
"recommend_count": 0
},
"publish_time": null,
"source": "random",
"url": "?id=28842"
},
{
"id": 4,
"title": "姜",
"intro": "&nbsp; &nbsp; &nbsp; &quot;生姜还具有解毒杀菌的作用,日常我们在吃松花蛋或鱼蟹等水产时,通常会放上一些姜末、姜汁。人体在进行正常新陈代谢生理功能时,会产生一种有害物质氧自由基",
"category": {
"id": 2334,
"name": "贡菜"
},
"statistics": {
"view_count": 23,
"like_count": 2,
"recommend_count": 3
},
"publish_time": null,
"source": "latest",
"url": "?id=4"
},
{
"id": 40288,
"title": "干煸豇豆烧肉",
"intro": "中餐、晚餐",
"category": {
"id": 43,
"name": "私家菜"
},
"statistics": {
"view_count": 8,
"like_count": 0,
"recommend_count": 1
},
"publish_time": null,
"source": "latest",
"url": "?id=40288"
},
{
"id": 32808,
"title": "榨菜鸭肝汤",
"intro": "中餐、晚餐",
"category": {
"id": 42,
"name": "家常菜"
},
"statistics": {
"view_count": 1,
"like_count": 1,
"recommend_count": 0
},
"publish_time": null,
"source": "latest",
"url": "?id=32808"
},
{
"id": 51335,
"title": "滑炒山鸡丝",
"intro": "早餐、中餐、晚餐、零食",
"category": {
"id": 21,
"name": "京菜"
},
"statistics": {
"view_count": 11,
"like_count": 0,
"recommend_count": 0
},
"publish_time": null,
"source": "hot",
"url": "?id=51335"
},
{
"id": 36079,
"title": "爆肚",
"intro": "中餐、晚餐",
"category": {
"id": 43,
"name": "私家菜"
},
"statistics": {
"view_count": 11,
"like_count": 2,
"recommend_count": 1
},
"publish_time": null,
"source": "latest",
"url": "?id=36079"
},
{
"id": 38737,
"title": "炸气鼓鸭子",
"intro": "中餐",
"category": {
"id": 43,
"name": "私家菜"
},
"statistics": {
"view_count": 3,
"like_count": 0,
"recommend_count": 0
},
"publish_time": null,
"source": "latest",
"url": "?id=38737"
},
{
"id": 30366,
"title": "血糯米扣肉",
"intro": "早餐、中餐、晚餐、零食",
"category": {
"id": 32,
"name": "沪菜"
},
"statistics": {
"view_count": 0,
"like_count": 0,
"recommend_count": 0
},
"publish_time": null,
"source": "latest",
"url": "?id=30366"
},
{
"id": 4,
"title": "姜",
"intro": "&nbsp; &nbsp; &nbsp; &quot;生姜还具有解毒杀菌的作用,日常我们在吃松花蛋或鱼蟹等水产时,通常会放上一些姜末、姜汁。人体在进行正常新陈代谢生理功能时,会产生一种有害物质氧自由基",
"category": {
"id": 2334,
"name": "贡菜"
},
"statistics": {
"view_count": 23,
"like_count": 2,
"recommend_count": 3
},
"publish_time": null,
"source": "hot",
"url": "?id=4"
},
{
"id": 28150,
"title": "冬瓜四灵",
"intro": "中餐、晚餐",
"category": {
"id": 19,
"name": "苏菜"
},
"statistics": {
"view_count": 19,
"like_count": 1,
"recommend_count": 1
},
"publish_time": null,
"source": "latest",
"url": "?id=28150"
},
{
"id": 51335,
"title": "滑炒山鸡丝",
"intro": "早餐、中餐、晚餐、零食",
"category": {
"id": 21,
"name": "京菜"
},
"statistics": {
"view_count": 11,
"like_count": 0,
"recommend_count": 0
},
"publish_time": null,
"source": "latest",
"url": "?id=51335"
},
{
"id": 28150,
"title": "冬瓜四灵",
"intro": "中餐、晚餐",
"category": {
"id": 19,
"name": "苏菜"
},
"statistics": {
"view_count": 19,
"like_count": 1,
"recommend_count": 1
},
"publish_time": null,
"source": "hot",
"url": "?id=28150"
},
{
"id": 51669,
"title": "原盅冬瓜丸",
"intro": "中餐、晚餐",
"category": {
"id": 13,
"name": "粤菜"
},
"statistics": {
"view_count": 8,
"like_count": 0,
"recommend_count": 0
},
"publish_time": null,
"source": "hot",
"url": "?id=51669"
}
],
"page": 1,
"limit": 20,
"total": 30916,
"has_more": true,
"mix_ratio": {
"hot": 8,
"latest": 8,
"random": 4
}
},
"_query_time": "1567.58ms"
}

View File

@@ -0,0 +1,60 @@
{
"code": 200,
"message": "success",
"data": {
"recipe_view": [
{
"id": 4,
"name": "姜",
"count": 22
},
{
"id": 56897,
"name": "芪菇炖乌鸡",
"count": 21
},
{
"id": 56894,
"name": "煮小牛肉配金枪鱼汁",
"count": 20
},
{
"id": 56891,
"name": "鸽蛋核桃酪",
"count": 20
},
{
"id": 56922,
"name": "鲍翅炖鸽",
"count": 20
},
{
"id": 56920,
"name": "冻鸭膀",
"count": 20
},
{
"id": 56914,
"name": "金枪鱼瓤胡萝卜",
"count": 19
},
{
"id": 56921,
"name": "清炖二鸡",
"count": 19
},
{
"id": 56916,
"name": "琥珀鸽蛋",
"count": 18
},
{
"id": 56904,
"name": "咖喱牛肉蒸饺",
"count": 18
}
]
},
"_cached": false,
"_query_time": "1309.5ms"
}

View File

@@ -0,0 +1,9 @@
{
"code": 200,
"message": "success",
"data": {
"recipe_view": []
},
"_cached": false,
"_query_time": "1298.34ms"
}

223
assets/data/hot_total.json Normal file
View File

@@ -0,0 +1,223 @@
{
"code": 200,
"message": "success",
"data": {
"today": {
"recipe_view": []
},
"month": {
"recipe_view": [
{
"id": 4,
"name": "姜",
"count": 22
},
{
"id": 56897,
"name": "芪菇炖乌鸡",
"count": 21
},
{
"id": 56894,
"name": "煮小牛肉配金枪鱼汁",
"count": 20
},
{
"id": 56891,
"name": "鸽蛋核桃酪",
"count": 20
},
{
"id": 56922,
"name": "鲍翅炖鸽",
"count": 20
},
{
"id": 56920,
"name": "冻鸭膀",
"count": 20
},
{
"id": 56914,
"name": "金枪鱼瓤胡萝卜",
"count": 19
},
{
"id": 56921,
"name": "清炖二鸡",
"count": 19
},
{
"id": 56916,
"name": "琥珀鸽蛋",
"count": 18
},
{
"id": 56904,
"name": "咖喱牛肉蒸饺",
"count": 18
}
]
},
"total": {
"recipe_view": [
{
"id": 4,
"name": "姜",
"count": 23
},
{
"id": 28150,
"name": "冬瓜四灵",
"count": 19
},
{
"id": 51335,
"name": "滑炒山鸡丝",
"count": 11
},
{
"id": 36079,
"name": "爆肚",
"count": 11
},
{
"id": 51669,
"name": "原盅冬瓜丸",
"count": 8
},
{
"id": 40288,
"name": "干煸豇豆烧肉",
"count": 8
},
{
"id": 37159,
"name": "马蹄炒羊丁",
"count": 4
},
{
"id": 41651,
"name": "白煨脐门",
"count": 3
},
{
"id": 38737,
"name": "炸气鼓鸭子",
"count": 3
},
{
"id": 30456,
"name": "河西羊羔肉",
"count": 3
}
],
"recipe_like": [
{
"id": 36079,
"name": "爆肚",
"count": 2
},
{
"id": 4,
"name": "姜",
"count": 2
},
{
"id": 32808,
"name": "榨菜鸭肝汤",
"count": 1
},
{
"id": 48479,
"name": "地骨皮粥",
"count": 1
},
{
"id": 43660,
"name": "牛肉煎饼",
"count": 1
},
{
"id": 50023,
"name": "酱切莲",
"count": 1
},
{
"id": 30010,
"name": "植物四宝",
"count": 1
},
{
"id": 28150,
"name": "冬瓜四灵",
"count": 1
},
{
"id": 44900,
"name": "红枣北芪炖鲈鱼",
"count": 1
},
{
"id": 43443,
"name": "牛尾汤",
"count": 1
}
],
"ingredient_view": [
{
"id": 1392,
"name": "乳化剂",
"count": 0
},
{
"id": 1391,
"name": "珍珠",
"count": 0
},
{
"id": 1390,
"name": "生石灰",
"count": 0
},
{
"id": 1387,
"name": "槐树芽",
"count": 0
},
{
"id": 1386,
"name": "红萝卜花",
"count": 0
},
{
"id": 1385,
"name": "海狗",
"count": 0
},
{
"id": 1384,
"name": "果冻",
"count": 0
},
{
"id": 1383,
"name": "鹿肾",
"count": 0
},
{
"id": 1382,
"name": "阳起石",
"count": 0
},
{
"id": 1381,
"name": "硝水",
"count": 0
}
]
}
},
"_cached": false,
"_query_time": "1446.53ms"
}

View File

@@ -0,0 +1,27 @@
{
"code": 200,
"message": "success",
"data": {
"description": "🍽️ 今天吃什么 - 智能筛选接口",
"version": "1.25.0",
"methods": [
"GET",
"POST"
],
"endpoints": {
"filter_steps": "?act=filter_steps",
"filter_steps_with_category": "?act=filter_steps&category=13",
"filter_apply": "?act=filter_apply&category=13&tag=2&count=5",
"detail_by_id": "?act=detail&id=1234",
"detail_by_title": "?act=detail&title=宫保鸡丁",
"detail_by_code": "?act=detail&code=CP001234",
"detail_fuzzy": "?act=detail&title=鸡丁&fuzzy=1"
},
"features": {
"dynamic_filter": "逐步筛选,越选越精准",
"random_recommend": "随机推荐,每次不同",
"multi_lookup": "支持ID/标题/编码查询"
}
},
"_query_time": "1285.47ms"
}

View File

@@ -0,0 +1,27 @@
{
"code": 200,
"message": "success",
"data": {
"description": "🍽️ 今天吃什么 - 智能筛选接口",
"version": "1.25.0",
"methods": [
"GET",
"POST"
],
"endpoints": {
"filter_steps": "?act=filter_steps",
"filter_steps_with_category": "?act=filter_steps&category=13",
"filter_apply": "?act=filter_apply&category=13&tag=2&count=5",
"detail_by_id": "?act=detail&id=1234",
"detail_by_title": "?act=detail&title=宫保鸡丁",
"detail_by_code": "?act=detail&code=CP001234",
"detail_fuzzy": "?act=detail&title=鸡丁&fuzzy=1"
},
"features": {
"dynamic_filter": "逐步筛选,越选越精准",
"random_recommend": "随机推荐,每次不同",
"multi_lookup": "支持ID/标题/编码查询"
}
},
"_query_time": "1294.92ms"
}

32
assets/data/tags.json Normal file
View File

@@ -0,0 +1,32 @@
{
"code": 200,
"message": "success",
"data": [
{
"id": "74",
"name": "粉蒸",
"count": "1",
"url": "?tags=74"
},
{
"id": "38",
"name": "腐汁味",
"count": "1",
"url": "?tags=38"
},
{
"id": "30",
"name": "咖喱味",
"count": "1",
"url": "?tags=30"
},
{
"id": "2",
"name": "原本味",
"count": "1",
"url": "?tags=2"
}
],
"_cached": false,
"_query_time": "1286.89ms"
}