# typeorm-chf **Repository Path**: lventou/typeorm-chf ## Basic Information - **Project Name**: typeorm-chf - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-04-24 - **Last Updated**: 2025-08-30 ## Categories & Tags **Categories**: Uncategorized **Tags**: 外接 ## README ### 待开发 1. - [ ] 监听全部在小程序进行计算 ```js POST /api/monitor/module_click // 携带参数 { "module_name":"我的信息" || "知识讲堂" || "药物助手" || "容量日记", } ``` 2. - [ ] 药物知识和知识讲堂需要加个类型判断 3. - [x] 用户获取收藏的知识讲堂 ```js GET /api/knowledge/collect !! 同时为了统一,收藏知识库改为 POST /api/knowledge/collect { knowledge_id, // 知识id user_id // 默认使用当前用户,可不传, } ``` 4. - [x] 加一个状态字段`today_status`,在`daily_health`添加,判断是否正常还是警告,0正常,1警告 ```js POST /api/user/daily_health { today_weight, // 今日体重 resting_heart_rate, // 静息心率 today_resting_heart_rate, // 静息心率 dry_weight, // 干体质量 today_status, // 今日状态 user_id // 默认使用当前用户,可不传, } ``` 5. - [x] 体重大于3天前的体重、有症状status是1的、静息心率大于初始15,就预警人+1