feat: 接入戒烟首页 AI 计划与今日总结

This commit is contained in:
root
2026-03-13 21:31:28 +08:00
parent 525266afaf
commit 07482b8915
2 changed files with 519 additions and 0 deletions
+8
View File
@@ -48,6 +48,14 @@ export function unlockAiAdvice(data) {
return request.post('/smoke/ai/advice_unlocks', data)
}
export function getAINextSmokeTime(params = {}) {
return request.get('/smoke/ai/next_smoke_time', { mode: 'ai', ...params })
}
export function getAIDailySummary(params = {}) {
return request.get('/smoke/ai/daily_summary', params)
}
export function getStats(params = {}) {
return request.get('/smoke/stats', params)
}