食物列表

## 1 减肥食物的列表(包含分类和所有食物) | 属性 | 值 | | ----------- | ---- | | 请求方式 | POST| | 测试URL | test.health.multilife.cn/api/weight/foods| | 发布URL | | > 测试阶段 要注意数据获取 loading ##### 请求参数 | 字段 | 必填 | 类型 | 示例值 | 描述 | | ---- | ---- | ---- | ------ | --------- | ##### 返回参数说明 | 字段 | 描述 | | ---- | ---- | |food_class_list|食物分类列表| |food_list|所有食物| ##### 返回值 code 200,请求成功 数据正常 ``` javascript { "status": "success", "code": 200, "msg": "", "data": { "food_class_list": [ { "id": 2, "name": "蔬菜" }, { "id": 3, "name": "素菜" }, { "id": 4, "name": "肉菜" }, { "id": 6, "name": "主食" }, { "id": 7, "name": "汤粥" }, { "id": 5, "name": "水果" }, { "id": 8, "name": "零食" }, { "id": 1, "name": "猪肉" } ], "food_list": [ { "id": 51, "name": "大力菠菜", "thumb": "https://yicai-health.oss-accelerate.aliyuncs.com/healthy_image/20220510_APtTKKEbgyYng7Q.png", "food_class_id": 2, "amount": 100, "unit": "g", "tag": "90.6千卡/100g", "calorie": 90.6, "num": 0 }, { "id": 2, "name": "大白菜", "thumb": "https://yicai-health.oss-accelerate.aliyuncs.com/healthy_image/20220510_APtTKKEbgyYng7Q.png", "food_class_id": 3, "amount": 100, "unit": "g", "tag": "17千卡/100g", "calorie": 17, "num": 0 }, { "id": 3, "name": "上汤娃娃菜", "thumb": "https://yicai-health.oss-accelerate.aliyuncs.com/healthy_image/20220510_APtTKKEbgyYng7Q.png", "food_class_id": 3, "amount": 100, "unit": "g", "tag": "32千卡/100g", "calorie": 32, "num": 0 }, { "id": 4, "name": "清炒小白菜", "thumb": "https://yicai-health.oss-accelerate.aliyuncs.com/healthy_image/20220510_APtTKKEbgyYng7Q.png", "food_class_id": 3, "amount": 97, "unit": "g", "tag": "34千卡/100g", "calorie": 34, "num": 0 }, { "id": 5, "name": "清炒商蒿菜", "thumb": "https://yicai-health.oss-accelerate.aliyuncs.com/healthy_image/20220510_APtTKKEbgyYng7Q.png", "food_class_id": 3, "amount": 85, "unit": "g", "tag": "67千卡/100g", "calorie": 67, "num": 0 }, { "id": 6, "name": "清炒油菜", "thumb": "https://yicai-health.oss-accelerate.aliyuncs.com/healthy_image/20220510_APtTKKEbgyYng7Q.png", "food_class_id": 3, "amount": 99, "unit": "g", "tag": "51千卡/100g", "calorie": 51, "num": 0 }, { "id": 7, "name": "芹菜牛肉", "thumb": "https://yicai-health.oss-accelerate.aliyuncs.com/healthy_image/20220510_APtTKKEbgyYng7Q.png", "food_class_id": 4, "amount": 100, "unit": "g", "tag": "100千卡/100g", "calorie": 100, "num": 0 }, { "id": 8, "name": "芹菜炒觥鱼", "thumb": "https://yicai-health.oss-accelerate.aliyuncs.com/healthy_image/20220510_APtTKKEbgyYng7Q.png", "food_class_id": 4, "amount": 100, "unit": "g", "tag": "121千卡/100g", "calorie": 121, "num": 0 }, { "id": 9, "name": "莲藕炒肉片", "thumb": "https://yicai-health.oss-accelerate.aliyuncs.com/healthy_image/20220510_APtTKKEbgyYng7Q.png", "food_class_id": 4, "amount": 100, "unit": "g", "tag": "123千卡/100g", "calorie": 123, "num": 0 }, { "id": 10, "name": "麻辣香锅", "thumb": "https://yicai-health.oss-accelerate.aliyuncs.com/healthy_image/20220510_APtTKKEbgyYng7Q.png", "food_class_id": 4, "amount": 100, "unit": "g", "tag": "102千卡/100g", "calorie": 102, "num": 0 }, { "id": 11, "name": "鸡肉", "thumb": "https://yicai-health.oss-accelerate.aliyuncs.com/healthy_image/20220510_APtTKKEbgyYng7Q.png", "food_class_id": 4, "amount": 99, "unit": "g", "tag": "112千卡/100g", "calorie": 112, "num": 0 }, { "id": 12, "name": "苹果", "thumb": "https://yicai-health.oss-accelerate.aliyuncs.com/healthy_image/20220510_APtTKKEbgyYng7Q.png", "food_class_id": 5, "amount": 100, "unit": "g", "tag": "54千卡/100g", "calorie": 54, "num": 0 }, { "id": 13, "name": "西瓜", "thumb": "https://yicai-health.oss-accelerate.aliyuncs.com/healthy_image/20220510_APtTKKEbgyYng7Q.png", "food_class_id": 5, "amount": 100, "unit": "g", "tag": "34千卡/100g", "calorie": 34, "num": 0 }, { "id": 14, "name": "香蕉", "thumb": "https://yicai-health.oss-accelerate.aliyuncs.com/healthy_image/20220510_APtTKKEbgyYng7Q.png", "food_class_id": 5, "amount": 100, "unit": "g", "tag": "91千卡/100g", "calorie": 91, "num": 0 }, { "id": 15, "name": "小西红柿", "thumb": "https://yicai-health.oss-accelerate.aliyuncs.com/healthy_image/20220510_APtTKKEbgyYng7Q.png", "food_class_id": 5, "amount": 100, "unit": "g", "tag": "24千卡/100g", "calorie": 24, "num": 0 }, { "id": 16, "name": "甜瓜", "thumb": "https://yicai-health.oss-accelerate.aliyuncs.com/healthy_image/20220510_APtTKKEbgyYng7Q.png", "food_class_id": 5, "amount": 99, "unit": "g", "tag": "26千卡/100g", "calorie": 26, "num": 0 }, { "id": 17, "name": "饺子(三鲜馅)", "thumb": "https://yicai-health.oss-accelerate.aliyuncs.com/healthy_image/20220510_APtTKKEbgyYng7Q.png", "food_class_id": 6, "amount": 100, "unit": "g", "tag": "240千卡/100g", "calorie": 240, "num": 0 }, { "id": 18, "name": "肉夹馍", "thumb": "https://yicai-health.oss-accelerate.aliyuncs.com/healthy_image/20220510_APtTKKEbgyYng7Q.png", "food_class_id": 6, "amount": 97, "unit": "g", "tag": "288千卡/100g", "calorie": 288, "num": 0 }, { "id": 19, "name": "馒头", "thumb": "https://yicai-health.oss-accelerate.aliyuncs.com/healthy_image/20220510_APtTKKEbgyYng7Q.png", "food_class_id": 6, "amount": 99, "unit": "g", "tag": "232千卡/100g", "calorie": 232, "num": 0 }, { "id": 20, "name": "包子(猪肉馅)", "thumb": "https://yicai-health.oss-accelerate.aliyuncs.com/healthy_image/20220510_APtTKKEbgyYng7Q.png", "food_class_id": 6, "amount": 97, "unit": "g", "tag": "227千卡/100g", "calorie": 227, "num": 0 }, { "id": 21, "name": "牛肉包子", "thumb": "https://yicai-health.oss-accelerate.aliyuncs.com/healthy_image/20220510_APtTKKEbgyYng7Q.png", "food_class_id": 6, "amount": 100, "unit": "g", "tag": "222千卡/100g", "calorie": 222, "num": 0 }, { "id": 22, "name": "小米粥", "thumb": "https://yicai-health.oss-accelerate.aliyuncs.com/healthy_image/20220510_APtTKKEbgyYng7Q.png", "food_class_id": 7, "amount": 100, "unit": "ml", "tag": "46千卡/100g", "calorie": 46, "num": 0 }, { "id": 23, "name": "白粥", "thumb": "https://yicai-health.oss-accelerate.aliyuncs.com/healthy_image/20220510_APtTKKEbgyYng7Q.png", "food_class_id": 7, "amount": 100, "unit": "ml", "tag": "30千卡/100g", "calorie": 30, "num": 0 }, { "id": 24, "name": "绿豆汤", "thumb": "https://yicai-health.oss-accelerate.aliyuncs.com/healthy_image/20220510_APtTKKEbgyYng7Q.png", "food_class_id": 7, "amount": 100, "unit": "ml", "tag": "33千卡/100g", "calorie": 33, "num": 0 }, { "id": 25, "name": "红豆汤", "thumb": "https://yicai-health.oss-accelerate.aliyuncs.com/healthy_image/20220510_APtTKKEbgyYng7Q.png", "food_class_id": 7, "amount": 100, "unit": "ml", "tag": "39千卡/100g", "calorie": 39, "num": 0 }, { "id": 26, "name": "绿豆粥", "thumb": "https://yicai-health.oss-accelerate.aliyuncs.com/healthy_image/20220510_APtTKKEbgyYng7Q.png", "food_class_id": 7, "amount": 100, "unit": "ml", "tag": "65千卡/100g", "calorie": 65, "num": 0 }, { "id": 27, "name": "牛奶(蒙牛牌)", "thumb": "https://yicai-health.oss-accelerate.aliyuncs.com/healthy_image/20220510_APtTKKEbgyYng7Q.png", "food_class_id": 8, "amount": 99, "unit": "ml", "tag": "67千卡/100g", "calorie": 67, "num": 0 }, { "id": 28, "name": "酸牛奶", "thumb": "https://yicai-health.oss-accelerate.aliyuncs.com/healthy_image/20220510_APtTKKEbgyYng7Q.png", "food_class_id": 8, "amount": 98, "unit": "ml", "tag": "72千卡/100g", "calorie": 72, "num": 0 }, { "id": 29, "name": "米饼(鸡蛋牛奶味)", "thumb": "https://yicai-health.oss-accelerate.aliyuncs.com/healthy_image/20220510_APtTKKEbgyYng7Q.png", "food_class_id": 8, "amount": 100, "unit": "g", "tag": "536千卡/100g", "calorie": 536, "num": 0 }, { "id": 30, "name": "曲奇饼", "thumb": "https://yicai-health.oss-accelerate.aliyuncs.com/healthy_image/20220510_APtTKKEbgyYng7Q.png", "food_class_id": 8, "amount": 100, "unit": "g", "tag": "546千卡/100g", "calorie": 546, "num": 0 }, { "id": 31, "name": "苏打饼干", "thumb": "https://yicai-health.oss-accelerate.aliyuncs.com/healthy_image/20220510_APtTKKEbgyYng7Q.png", "food_class_id": 8, "amount": 99, "unit": "g", "tag": "408千卡/100g", "calorie": 408, "num": 0 }, { "id": 32, "name": "鸡蛋(红皮)", "thumb": "https://yicai-health.oss-accelerate.aliyuncs.com/healthy_image/20220510_APtTKKEbgyYng7Q.png", "food_class_id": 4, "amount": 100, "unit": "g", "tag": "156千卡/100g", "calorie": 156, "num": 0 }, { "id": 33, "name": "香菇油菜", "thumb": "https://yicai-health.oss-accelerate.aliyuncs.com/healthy_image/20220510_APtTKKEbgyYng7Q.png", "food_class_id": 3, "amount": 100, "unit": "g", "tag": "27千卡/100g", "calorie": 27, "num": 0 }, { "id": 34, "name": "油菜炒鸡蛋", "thumb": "https://yicai-health.oss-accelerate.aliyuncs.com/healthy_image/20220510_APtTKKEbgyYng7Q.png", "food_class_id": 3, "amount": 100, "unit": "g", "tag": "130千卡/100g", "calorie": 130, "num": 0 }, { "id": 35, "name": "红烧豆腐", "thumb": "https://yicai-health.oss-accelerate.aliyuncs.com/healthy_image/20220510_APtTKKEbgyYng7Q.png", "food_class_id": 3, "amount": 100, "unit": "g", "tag": "96千卡/100g", "calorie": 96, "num": 0 }, { "id": 36, "name": "大盘鸡", "thumb": "https://yicai-health.oss-accelerate.aliyuncs.com/healthy_image/20220510_APtTKKEbgyYng7Q.png", "food_class_id": 4, "amount": 100, "unit": "g", "tag": "128千卡/100g", "calorie": 128, "num": 0 }, { "id": 37, "name": "炸鸡肉串", "thumb": "https://yicai-health.oss-accelerate.aliyuncs.com/healthy_image/20220510_APtTKKEbgyYng7Q.png", "food_class_id": 4, "amount": 100, "unit": "g", "tag": "163千卡/100g", "calorie": 163, "num": 0 }, { "id": 38, "name": "炸鸡翅", "thumb": "https://yicai-health.oss-accelerate.aliyuncs.com/healthy_image/20220510_APtTKKEbgyYng7Q.png", "food_class_id": 4, "amount": 100, "unit": "g", "tag": "223千卡/100g", "calorie": 223, "num": 0 }, { "id": 39, "name": "哈密瓜", "thumb": "https://yicai-health.oss-accelerate.aliyuncs.com/healthy_image/20220510_APtTKKEbgyYng7Q.png", "food_class_id": 5, "amount": 100, "unit": "g", "tag": "34千卡/100g", "calorie": 34, "num": 0 }, { "id": 40, "name": "桃", "thumb": "https://yicai-health.oss-accelerate.aliyuncs.com/healthy_image/20220510_APtTKKEbgyYng7Q.png", "food_class_id": 5, "amount": 100, "unit": "g", "tag": "48千卡/100g", "calorie": 48, "num": 0 }, { "id": 41, "name": "葡萄", "thumb": "https://yicai-health.oss-accelerate.aliyuncs.com/healthy_image/20220510_APtTKKEbgyYng7Q.png", "food_class_id": 5, "amount": 100, "unit": "g", "tag": "43千卡/100g", "calorie": 43, "num": 0 }, { "id": 42, "name": "包子(三鲜馅)", "thumb": "https://yicai-health.oss-accelerate.aliyuncs.com/healthy_image/20220510_APtTKKEbgyYng7Q.png", "food_class_id": 6, "amount": 100, "unit": "g", "tag": "223千卡/100g", "calorie": 223, "num": 0 }, { "id": 43, "name": "干菜肉包", "thumb": "https://yicai-health.oss-accelerate.aliyuncs.com/healthy_image/20220510_APtTKKEbgyYng7Q.png", "food_class_id": 6, "amount": 100, "unit": "g", "tag": "254千卡/100g", "calorie": 254, "num": 0 }, { "id": 44, "name": "白菜包子", "thumb": "https://yicai-health.oss-accelerate.aliyuncs.com/healthy_image/20220510_APtTKKEbgyYng7Q.png", "food_class_id": 6, "amount": 100, "unit": "g", "tag": "120千卡/100g", "calorie": 120, "num": 0 }, { "id": 45, "name": "红豆粥", "thumb": "https://yicai-health.oss-accelerate.aliyuncs.com/healthy_image/20220510_APtTKKEbgyYng7Q.png", "food_class_id": 7, "amount": 100, "unit": "ml", "tag": "62千卡/100g", "calorie": 62, "num": 0 }, { "id": 46, "name": "南瓜粥", "thumb": "https://yicai-health.oss-accelerate.aliyuncs.com/healthy_image/20220510_APtTKKEbgyYng7Q.png", "food_class_id": 7, "amount": 100, "unit": "ml", "tag": "21千卡/100g", "calorie": 21, "num": 0 }, { "id": 47, "name": "黑米粥", "thumb": "https://yicai-health.oss-accelerate.aliyuncs.com/healthy_image/20220510_APtTKKEbgyYng7Q.png", "food_class_id": 7, "amount": 100, "unit": "ml", "tag": "30千卡/100g", "calorie": 30, "num": 0 }, { "id": 48, "name": "奶油饼干", "thumb": "https://yicai-health.oss-accelerate.aliyuncs.com/healthy_image/20220510_APtTKKEbgyYng7Q.png", "food_class_id": 8, "amount": 100, "unit": "g", "tag": "429千卡/100g", "calorie": 429, "num": 0 }, { "id": 49, "name": "牛奶饼干", "thumb": "https://yicai-health.oss-accelerate.aliyuncs.com/healthy_image/20220510_APtTKKEbgyYng7Q.png", "food_class_id": 8, "amount": 100, "unit": "g", "tag": "408千卡/100g", "calorie": 408, "num": 0 }, { "id": 50, "name": "柿饼", "thumb": "https://yicai-health.oss-accelerate.aliyuncs.com/healthy_image/20220510_APtTKKEbgyYng7Q.png", "food_class_id": 8, "amount": 100, "unit": "g", "tag": "250千卡/100g", "calorie": 250, "num": 0 } ] }, "error": [] } ```