feat(smoke): 增加 AI 今日总结接口与首页缓存透出
This commit is contained in:
@@ -37,6 +37,9 @@ func registerSmokeRoutes(protected *gin.RouterGroup, smokeHandler *smokehandler.
|
||||
// AI 下次抽烟时间建议(结构化时间节点)
|
||||
smoke.GET("/ai/next_smoke_time", smokeHandler.GetAINextSmokeTime)
|
||||
|
||||
// AI 今日总结(分析当天抽烟数据,生成总结和建议)
|
||||
smoke.GET("/ai/daily_summary", smokeHandler.GetAIDailySummary)
|
||||
|
||||
// 分享:用于给新用户只读展示统计与历史记录
|
||||
smoke.POST("/share", smokeHandler.CreateShare)
|
||||
smoke.GET("/share/:token", smokeHandler.GetShareView)
|
||||
|
||||
Reference in New Issue
Block a user