Commit Graph

8 Commits

Author SHA1 Message Date
richarjiang
562c66a930 feat(ai): 添加AI报告生成历史记录功能,支持每日生成限制和双API提供商 2025-12-02 12:07:08 +08:00
richarjiang
5b89a07751 stash 2025-12-01 18:12:09 +08:00
richarjiang
37cc2a729b feat(push-notifications): 新增挑战提醒定时推送功能
新增每日定时推送系统,根据用户参与状态发送不同类型的挑战提醒:
- 已参与用户:每日发送鼓励推送
- 未参与用户:隔天发送挑战邀请
- 匿名用户:隔天发送通用邀请

包含推送历史记录表、定时任务调度、多类型文案模板和防重复发送机制
2025-11-03 17:49:14 +08:00
richarjiang
38dd740c8c feat(push): migrate APNs provider from @parse/node-apn to apns2 library
- Replace @parse/node-apn with apns2 for improved APNs integration
- Update ApnsProvider to use new ApnsClient with modern API
- Refactor notification creation and sending logic for better error handling
- Add proper error event listeners for device token issues
- Update configuration interface to match apns2 requirements
- Modify push notification endpoints to allow public access for token registration
- Update service methods to handle new response format from apns2
- Add UsersModule dependency to PushNotificationsModule
2025-10-14 19:25:30 +08:00
richarjiang
305a969912 feat: 支持 push 2025-10-11 17:38:04 +08:00
richarjiang
c9eda4577f feat(users): 新增围度分析报表接口
- 添加 dayjs 依赖用于日期处理
- 新增 GetBodyMeasurementAnalysisDto 和 GetBodyMeasurementAnalysisResponseDto
- 支持按周、月、年三种时间范围统计围度变化趋势
- 实现最近数据点匹配算法,返回各围度类型最接近时间点的测量值
2025-09-24 17:51:57 +08:00
richarjiang
090b91e72d feat: 支持图片上传接口 2025-09-12 14:23:18 +08:00
richarjiang
4f9d648a50 feat: 初始化项目 2025-08-13 15:17:33 +08:00