first commit 稳定版本,已知该版本存在问题,前端未对数据进行校验,没有集成导出excel
This commit is contained in:
commit
e5030abf39
40 files changed
+5186
No files matched your search
@@ -0,0 +1,80 @@
|
||||
{
|
||||
"food_category_map": {
|
||||
"谷类": ["米饭", "面粉", "杂粮", "油炸面食"],
|
||||
"薯类": ["薯"],
|
||||
"畜禽肉": ["猪", "牛", "羊", "鸡", "肝"],
|
||||
"水产品": ["虾", "鱼"],
|
||||
"蛋类": ["蛋"],
|
||||
"豆类": ["豆腐", "豆浆", "黑豆"],
|
||||
"奶类": ["奶"],
|
||||
"蔬菜": ["菜", "白菜", "香菇", "榨菜"],
|
||||
"水果": ["苹果"],
|
||||
"坚果": ["核桃"],
|
||||
"零食": ["蛋糕"],
|
||||
"酒类": ["酒"],
|
||||
"饮料": ["果汁", "咖啡", "茶", "饮料"]
|
||||
},
|
||||
|
||||
"exclude_keywords": ["油", "盐", "酱", "醋"],
|
||||
|
||||
"category_evaluation": {
|
||||
"谷类": [
|
||||
{"min": 0, "max": 250, "label": "不足"},
|
||||
{"min": 251, "max": 400, "label": "适宜"}
|
||||
],
|
||||
"蔬菜": [
|
||||
{"min": 0, "max": 300, "label": "不足"},
|
||||
{"min": 301, "max": 500, "label": "适宜"}
|
||||
],
|
||||
"水果": [
|
||||
{"min": 0, "max": 150, "label": "不足"},
|
||||
{"min": 151, "max": 300, "label": "适宜"}
|
||||
],
|
||||
"奶类": [
|
||||
{"min": 0, "max": 400, "label": "不足"},
|
||||
{"min": 401, "max": 800, "label": "适宜"}
|
||||
],
|
||||
"薯类": [
|
||||
{"min": 0, "max": 300, "label": "不足"},
|
||||
{"min": 301, "max": 500, "label": "适宜"}
|
||||
],
|
||||
"畜禽肉": [
|
||||
{"min": 0, "max": 300, "label": "不足"},
|
||||
{"min": 301, "max": 500, "label": "适宜"}
|
||||
],
|
||||
"水产品": [
|
||||
{"min": 0, "max": 300, "label": "不足"},
|
||||
{"min": 301, "max": 500, "label": "适宜"}
|
||||
],
|
||||
"豆类": [
|
||||
{"min": 0, "max": 300, "label": "不足"},
|
||||
{"min": 301, "max": 500, "label": "适宜"}
|
||||
],
|
||||
"坚果": [
|
||||
{"min": 0, "max": 300, "label": "不足"},
|
||||
{"min": 301, "max": 500, "label": "适宜"}
|
||||
],
|
||||
"蛋类": [
|
||||
{"min": 0, "max": 300, "label": "不足"},
|
||||
{"min": 301, "max": 500, "label": "适宜"}
|
||||
]
|
||||
|
||||
},
|
||||
|
||||
"suggestion_rules": {
|
||||
"不足": "增加{category}摄入量",
|
||||
"适宜": "",
|
||||
"偏高": "减少{category}摄入量"
|
||||
},
|
||||
|
||||
"nutrition_eval": {
|
||||
"energy": [
|
||||
{"min": 0, "max": 2500, "label": "不足"},
|
||||
{"min": 2501, "max": 3500, "label": "适宜"}
|
||||
],
|
||||
"calcium": [
|
||||
{"min": 0, "max": 1000, "label": "不足"},
|
||||
{"min": 1001, "max": 2000, "label": "适宜"}
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user